times_new_nginx/docker-compose.yaml

33 lines
797 B
YAML
Raw Permalink Normal View History

2024-10-05 07:22:27 +03:00
name: reverse_default
2024-10-04 00:48:20 +03:00
include:
- path:
- compose_extends/network.include.yaml
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
volumes:
- "./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:
2024-10-05 07:22:27 +03:00
- services
configs:
- source: nginx_config
target: /etc/nginx/nginx.conf
configs:
nginx_config:
name: times_new_nginx_config
file: ./nginx_config/nginx.conf
external: false