container-server/docker-compose.yml

22 lines
406 B
YAML
Raw Normal View History

2019-10-20 23:44:12 +02:00
version: '3.7'
services:
proxy:
2019-10-21 21:57:02 +02:00
build: ./proxy
2019-10-20 23:44:12 +02:00
container_name: proxy
restart: unless-stopped
ports:
- 80:80
- 443:443
volumes:
2019-10-21 21:57:02 +02:00
- ./proxy/Caddyfile:/etc/Caddyfile:ro
- ./proxy/.ssh:/root/deploy_keys:ro
- /srv/proxy/.caddy:/home/.caddy
- /srv/proxy/srv:/srv
# networks:
# - homepage-net
2019-10-20 23:44:12 +02:00
2019-10-21 21:57:02 +02:00
# networks:
# homepage-net:
# external: true