nginx-docker-compose/docker-compose.yaml

22 lines
481 B
YAML
Raw Normal View History

2022-05-30 19:22:39 +00:00
networks:
proxy:
name: ${PROXY_NETWORK-proxy}
services:
nginx:
2022-05-30 19:29:19 +00:00
build:
context: ./
args:
NGINX_TAG: ${NGINX_TAG-stable}
2022-05-30 19:22:39 +00:00
restart: unless-stopped
networks:
- proxy
ports:
- 80:80
- 443:443
volumes:
- ${VOLUME_PATH}/conf.d:/etc/nginx/conf.d
2022-06-01 17:34:09 +00:00
- ${VOLUME_PATH}/letsencrypt-acme-challenge:/data/letsencrypt-acme-challenge
2022-05-30 19:22:39 +00:00
- ${VOLUME_PATH}/etc/letsencrypt:/etc/letsencrypt
- ${VOLUME_PATH}/tmp:/tmp