-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-caddy.yml
56 lines (52 loc) · 1018 Bytes
/
docker-compose-caddy.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
services:
caddy:
container_name: caddy
image: caddy:2.8.4
restart: unless-stopped
networks:
- caddy
ports:
- 80:80
- 443:443
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
authelia:
container_name: authelia
image: authelia/authelia:4.38.17
restart: unless-stopped
networks:
- caddy
ports:
- 9091
volumes:
- ./authelia-caddy:/config
depends_on:
- redis
redis:
container_name: redis
image: redis:7.0
restart: unless-stopped
networks:
- caddy
pygeoapi:
container_name: pygeoapi
build:
context: .
dockerfile: Dockerfile.pygeoapi
restart: unless-stopped
volumes:
- ./pygeoapi-config.yml:/pygeoapi/local.config.yml
- ./authelia-caddy:/pygeoapi/authelia-config
ports:
- 80
environment:
- SCRIPT_NAME=/api
depends_on:
- redis
- caddy
- authelia
networks:
- caddy
networks:
caddy:
name: caddy