Created
November 2, 2022 16:52
-
-
Save colinfwren/8a89cc9ae62ab961259b5f1adf63ccb9 to your computer and use it in GitHub Desktop.
Portainer version of PenPot's compose.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "3.5" | |
networks: | |
penpot: | |
volumes: | |
penpot_postgres_data: | |
penpot_assets_data: | |
services: | |
penpot-frontend: | |
image: "penpotapp/frontend:latest" | |
ports: | |
- 9001:80 | |
volumes: | |
- penpot_assets_data:/opt/data | |
env_file: | |
- stack.env | |
depends_on: | |
- penpot-backend | |
- penpot-exporter | |
networks: | |
- penpot | |
penpot-backend: | |
image: "penpotapp/backend:latest" | |
volumes: | |
- penpot_assets_data:/opt/data | |
depends_on: | |
- penpot-postgres | |
- penpot-redis | |
env_file: | |
- stack.env | |
networks: | |
- penpot | |
penpot-exporter: | |
image: "penpotapp/exporter:latest" | |
env_file: | |
- stack.env | |
environment: | |
# Don't touch it; this uses internal docker network to | |
# communicate with the frontend. | |
- PENPOT_PUBLIC_URI=http://penpot-frontend | |
networks: | |
- penpot | |
penpot-postgres: | |
image: "postgres:14" | |
restart: always | |
stop_signal: SIGINT | |
environment: | |
- POSTGRES_INITDB_ARGS=--data-checksums | |
- POSTGRES_DB=penpot | |
- POSTGRES_USER=penpot | |
- POSTGRES_PASSWORD=penpot | |
volumes: | |
- penpot_postgres_data:/var/lib/postgresql/data | |
networks: | |
- penpot | |
penpot-redis: | |
image: redis:7 | |
restart: always | |
networks: | |
- penpot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment