2020-12-02 03:39:39 -05:00
|
|
|
---
|
2021-01-13 03:49:54 -05:00
|
|
|
version: "3.5"
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
networks:
|
2021-01-11 08:29:38 -05:00
|
|
|
penpot:
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
volumes:
|
2021-01-26 16:42:15 -05:00
|
|
|
penpot_postgres_data:
|
|
|
|
penpot_assets_data:
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
services:
|
|
|
|
penpot-frontend:
|
2021-02-01 16:36:53 -05:00
|
|
|
image: "penpotapp/frontend:latest"
|
2020-12-02 03:39:39 -05:00
|
|
|
ports:
|
2021-01-26 16:42:15 -05:00
|
|
|
- 9001:80
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
volumes:
|
2021-01-26 16:42:15 -05:00
|
|
|
- penpot_assets_data:/opt/data
|
2020-12-02 03:39:39 -05:00
|
|
|
|
2021-04-15 04:54:55 -05:00
|
|
|
env_file:
|
|
|
|
- config.env
|
|
|
|
|
2020-12-02 03:39:39 -05:00
|
|
|
depends_on:
|
|
|
|
- penpot-backend
|
|
|
|
- penpot-exporter
|
2021-04-15 04:54:55 -05:00
|
|
|
|
2021-01-11 08:29:38 -05:00
|
|
|
networks:
|
|
|
|
- penpot
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
penpot-backend:
|
2021-02-01 16:36:53 -05:00
|
|
|
image: "penpotapp/backend:latest"
|
2020-12-02 03:39:39 -05:00
|
|
|
volumes:
|
2021-01-26 16:42:15 -05:00
|
|
|
- penpot_assets_data:/opt/data
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- penpot-postgres
|
|
|
|
- penpot-redis
|
|
|
|
|
2021-04-15 04:54:55 -05:00
|
|
|
env_file:
|
|
|
|
- config.env
|
2021-01-26 06:57:21 -05:00
|
|
|
|
2021-01-11 08:29:38 -05:00
|
|
|
networks:
|
|
|
|
- penpot
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
penpot-exporter:
|
2021-02-01 16:36:53 -05:00
|
|
|
image: "penpotapp/exporter:latest"
|
2022-06-06 06:23:40 -05:00
|
|
|
env_file:
|
|
|
|
- config.env
|
2020-12-02 03:39:39 -05:00
|
|
|
environment:
|
2021-01-26 16:42:15 -05:00
|
|
|
# Don't touch it; this uses internal docker network to
|
|
|
|
# communicate with the frontend.
|
2021-01-11 08:29:38 -05:00
|
|
|
- PENPOT_PUBLIC_URI=http://penpot-frontend
|
|
|
|
networks:
|
|
|
|
- penpot
|
2020-12-02 03:39:39 -05:00
|
|
|
|
|
|
|
penpot-postgres:
|
2022-10-05 01:42:14 -05:00
|
|
|
image: "postgres:14"
|
2020-12-02 03:39:39 -05:00
|
|
|
restart: always
|
|
|
|
stop_signal: SIGINT
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- POSTGRES_INITDB_ARGS=--data-checksums
|
|
|
|
- POSTGRES_DB=penpot
|
|
|
|
- POSTGRES_USER=penpot
|
|
|
|
- POSTGRES_PASSWORD=penpot
|
|
|
|
|
|
|
|
volumes:
|
2021-01-26 16:42:15 -05:00
|
|
|
- penpot_postgres_data:/var/lib/postgresql/data
|
2020-12-02 03:39:39 -05:00
|
|
|
|
2021-01-11 08:29:38 -05:00
|
|
|
networks:
|
|
|
|
- penpot
|
|
|
|
|
2020-12-02 03:39:39 -05:00
|
|
|
penpot-redis:
|
2022-10-05 01:42:14 -05:00
|
|
|
image: redis:7
|
2020-12-02 03:39:39 -05:00
|
|
|
restart: always
|
2021-01-11 08:29:38 -05:00
|
|
|
networks:
|
|
|
|
- penpot
|