-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
26 lines (25 loc) · 649 Bytes
/
Copy pathcompose.yml
File metadata and controls
26 lines (25 loc) · 649 Bytes
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
services:
casdoor:
restart: unless-stopped
image: casbin/casdoor
entrypoint: /bin/sh -c './server --createDatabase=true'
environment:
RUNNING_IN_DOCKER: 'true'
volumes:
- /srv/casdoor:/conf/
- /srv/casdoor/init_data.json:/init_data.json
networks:
- postgres
- caddy
env_file: .env
labels:
traefik.enable: 'true'
traefik.http.routers.casdoor.entrypoints: web
traefik.http.services.casdoor.loadbalancer.server.port: 8000
traefik.http.routers.casdoor.rule: 'Host(`casdoor.marcpartensky.com`)
'
networks:
postgres:
external: true
caddy:
external: true