-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml
79 lines (66 loc) · 1.78 KB
/
docker-compose.override.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
74
75
76
77
78
79
version: "3"
services:
postgres:
image: postgres:15
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
networks:
budibase_net: {}
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
proxy-service:
labels:
traefik.enable: "true"
traefik.http.routers.budibase-http.entrypoints: "web"
traefik.http.routers.budibase-http.rule: "Host(`${SUBDOMAIN_TRAEFIK}.${DOMAIN}`)"
traefik.http.routers.budibase-http.middlewares: "SslHeader@file"
traefik.http.routers.budibase-https.middlewares: "SslHeader@file"
traefik.http.routers.budibase-https.entrypoints: "websecure"
traefik.http.routers.budibase-https.rule: "Host(`${SUBDOMAIN_TRAEFIK}.${DOMAIN}`)"
traefik.http.routers.budibase-https.tls: "true"
traefik.http.routers.budibase-https.tls.certresolver: "letsencrypt"
traefik.http.services.budibase.loadbalancer.server.port: "${MAIN_PORT}"
networks:
budibase_net: {}
traefik:
image: traefik:2.6
restart: always
ports:
- 443:443
- 80:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.yaml:/traefik.yaml:ro
- ./conf/:/etc/traefik/conf
- ./shared/:/shared
networks:
budibase_net: {}
app-service:
networks:
budibase_net: {}
worker-service:
networks:
budibase_net: {}
minio-service:
networks:
budibase_net: {}
couchdb-service:
networks:
budibase_net: {}
couch-init:
networks:
budibase_net: {}
redis-service:
networks:
budibase_net: {}
watchtower-service:
networks:
budibase_net: {}
volumes:
postgres_data:
driver: local
networks:
budibase_net: