-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-nginx.yml
56 lines (51 loc) · 1.12 KB
/
docker-compose-nginx.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:
nginx:
container_name: nginx
image: lscr.io/linuxserver/nginx
restart: unless-stopped
networks:
- nginx
ports:
- 80:80
- 443:443
volumes:
- ./nginx/site-confs:/config/nginx/site-confs
- ./nginx/snippets:/config/nginx/snippets
- ./nginx/certs:/config/ssl # see nginx/README.md to generate self signed certs in this directory
environment:
TZ: 'UTC'
DOCKER_MODS: 'linuxserver/mods:nginx-proxy-confs'
authelia:
container_name: authelia
image: authelia/authelia:4.38.9
restart: unless-stopped
networks:
- nginx
ports:
- 9091:9091
volumes:
- ./authelia:/config
depends_on:
- redis
redis:
container_name: redis
image: redis:7.0
restart: unless-stopped
networks:
- nginx
pygeoapi:
container_name: pygeoapi
image: geopython/pygeoapi:latest
volumes:
- ./pygeoapi-config.yml:/pygeoapi/local.config.yml
environment:
- SCRIPT_NAME=/api
depends_on:
- redis
- nginx
- authelia
networks:
- nginx
networks:
nginx:
name: nginx