28 lines
704 B
YAML
28 lines
704 B
YAML
services:
|
|
reverse:
|
|
extends:
|
|
file: compose_extends/docker-compose.base.yaml
|
|
service: reverse
|
|
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"
|
|
- "./error-pages:/etc/nginx/error-pages:ro"
|
|
- "./resources:/var/www/html/resources:ro"
|
|
- "./ssl:/etc/nginx/ssl:ro"
|
|
- "./logs:/var/log/nginx/"
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
networks:
|
|
- services
|
|
|
|
networks:
|
|
services:
|
|
external: true
|
|
driver: bridge
|
|
name: services
|