2018-12-29 01:13:09 +00:00
|
|
|
version: "2.1"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
reverse-proxy:
|
2019-02-03 21:00:37 +00:00
|
|
|
image: reverse-proxy:$VERSION_PROXY
|
2018-12-29 01:13:09 +00:00
|
|
|
build: "https://git.scimetis.net/yohan/docker-reverse-proxy.git"
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 80:80/tcp
|
|
|
|
- 443:443/tcp
|
|
|
|
networks:
|
|
|
|
- reverse-proxy
|
|
|
|
volumes:
|
|
|
|
- reverse-proxy_conf:/etc/apache2/sites-available:Z
|
|
|
|
- reverse-proxy_conf_enabled:/etc/apache2/sites-enabled:Z
|
|
|
|
- reverse-proxy_letsencrypt:/etc/letsencrypt:Z
|
|
|
|
|
|
|
|
cron:
|
2019-02-03 21:00:37 +00:00
|
|
|
image: cron:$VERSION_CRON
|
|
|
|
build: "https://git.scimetis.net/yohan/docker-cron.git"
|
2018-12-29 01:13:09 +00:00
|
|
|
restart: always
|
|
|
|
network_mode: "host"
|
|
|
|
volumes:
|
2018-12-29 02:03:04 +00:00
|
|
|
- ./crontab:/etc/crontab:Z
|
2018-12-29 01:13:09 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
|
|
|
|
reverse-proxy:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
reverse-proxy_conf:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
reverse-proxy_conf_enabled:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
reverse-proxy_letsencrypt:
|
|
|
|
external: true
|