-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (66 loc) · 1.76 KB
/
docker-compose.yml
File metadata and controls
73 lines (66 loc) · 1.76 KB
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
services:
# we use postgis instead of postgres because we need map functionality for directus
database:
image: postgis/postgis:16-master
ports:
- 5432:5432
volumes:
- ./directus/postgres:/var/lib/postgresql/data
env_file: ".env"
networks:
- custom-app-network
cms:
image: directus/directus:11.1.1
ports:
- 8055:8055
volumes:
- ./directus/uploads:/directus/uploads
- ./directus/extensions:/directus/extensions
- ./directus/database:/directus/database # was needed for sqlite in the past
depends_on:
- database
env_file: ".env"
networks:
- custom-app-network
web:
image: ghcr.io/h3nkl3r/lace:main
networks:
- custom-app-network
ports:
- "3000:3000"
env_file: ".env"
restart: on-failure:3
web-staging:
image: ghcr.io/h3nkl3r/lace:staging
networks:
- custom-app-network
ports:
- "3001:3000"
env_file: ".env.staging"
restart: on-failure:3
labels:
- "com.centurylinklabs.watchtower.enable=true"
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30 --cleanup
labels:
- "com.centurylinklabs.watchtower.enable=false"
nginx:
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- /var/lib/rbg-cert:/var/lib/rbg-cert:ro # Certificate for tum domain
- /usr/local/cert.d/nginx:/usr/local/cert.d/nginx
- ./.htpasswd:/etc/nginx/.htpasswd:ro # Basic Auth for staging
- /etc/letsencrypt:/etc/letsencrypt:ro # Certificate of own domains
ports:
- "80:80"
- "443:443"
depends_on:
- web
networks:
- custom-app-network
networks:
custom-app-network: