times_new_nginx/docker-compose.yaml

28 lines
704 B
YAML
Raw Normal View History

2024-09-03 21:00:49 +03:00
services:
reverse:
2024-10-03 23:44:15 +03:00
extends:
file: compose_extends/docker-compose.base.yaml
service: reverse
2024-09-03 21:00:49 +03:00
extra_hosts:
- "host.docker.internal=host-gateway"
volumes:
- "./nginx.conf:/etc/nginx/nginx.conf:ro"
- "./locations:/etc/nginx/locations:ro"
- "./configuration:/etc/nginx/configuration:ro"
- "./sites-enabled:/etc/nginx/sites-enabled:ro"
2024-09-19 12:58:24 +03:00
- "./error-pages:/etc/nginx/error-pages:ro"
- "./resources:/var/www/html/resources:ro"
- "./ssl:/etc/nginx/ssl:ro"
2024-09-03 21:00:49 +03:00
- "./logs:/var/log/nginx/"
ports:
- 80:80
- 443:443
2024-10-03 23:44:15 +03:00
networks:
- services
2024-09-03 21:00:49 +03:00
networks:
2024-09-19 12:58:24 +03:00
services:
2024-09-03 21:00:49 +03:00
external: true
driver: bridge
name: services