-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
28 lines (26 loc) · 1.15 KB
/
docker-compose.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
version: '2'
services:
geokrety-static:
image: jrelva/nginx-autoindex:latest
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf:ro
- ./content:/usr/share/nginx/html:ro
- ../GEOKRETY-LEGACY-PROD/vars/obrazki:/usr/share/nginx/html/images/obrazki:ro
- ../GEOKRETY-LEGACY-PROD/vars/obrazki-male:/usr/share/nginx/html/images/obrazki-male:ro
- ../GEOKRETY-LEGACY-PROD/vars/statpics:/usr/share/nginx/html/images/statpics:ro
- ../GEOKRETY-LEGACY-PROD/vars/templates/wykresy:/usr/share/nginx/html/images/wykresy:ro
- ../GEOKRETY-LEGACY-PROD/vars/mapki/csv:/usr/share/nginx/html/maps/csv:ro
- ../GEOKRETY-LEGACY-PROD/vars/mapki/gpx:/usr/share/nginx/html/maps/gpx:ro
- ../GEOKRETY-LEGACY-PROD/vars/mapki/map:/usr/share/nginx/html/maps/map:ro
- ../GEOKRETY-LEGACY-PROD/vars/rzeczy/xml/:/usr/share/nginx/html/exports:ro
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:cdn.geokrety.org,cdn.geokrety.kumy.org"
- "traefik.docker.network=srv_geokrety-front"
networks:
- front
restart: unless-stopped
networks:
front:
external:
name: srv_geokrety-front