This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
73 lines (67 loc) · 1.55 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
networks:
penpot:
external: true
name: localdev
services:
frontend:
image: "penpotapp/frontend:latest"
container_name: penpot-frontend
restart: always
networks: [ penpot ]
ports:
- "9001:80"
env_file: [ .env ]
environment:
VIRTUAL_HOST: penpot.docker
PENPOT_PUBLIC_URI: http://penpot.docker
depends_on:
- backend
- exporter
volumes:
- ./docker/assets:/opt/data/assets
- ./docker/nginx.conf:/etc/nginx/nginx.conf.template
backend:
image: "penpotapp/backend:latest"
container_name: penpot-backend
networks: [ penpot ]
restart: always
env_file: [ .env ]
environment:
PENPOT_PUBLIC_URI: http://penpot.docker:9001
depends_on:
- postgres
- redis
volumes:
- ./docker/assets:/opt/data/assets
exporter:
image: "penpotapp/exporter:latest"
container_name: penpot-exporter
networks: [ penpot ]
restart: always
env_file: [ .env ]
postgres:
image: "postgres:15"
container_name: penpot-postgres
networks: [ penpot ]
restart: always
env_file: [ .env ]
stop_signal: SIGINT
volumes:
- ./docker/data:/var/lib/postgresql/data
redis:
image: redis:7
container_name: penpot-redis
networks: [ penpot ]
restart: always
env_file: [ .env ]
# used as temporary SMTP server.
mailcatch:
image: sj26/mailcatcher:latest
container_name: penpot-mailcatch
networks: [ penpot ]
restart: always
ports:
- "1080:1080"
expose:
- "1025"
env_file: [ .env ]