add some stupid solutions

This commit is contained in:
perl 2024-10-03 23:44:15 +03:00
parent 589c3faae0
commit 7e1823dca6
3 changed files with 11 additions and 6 deletions

View File

@ -0,0 +1,6 @@
services:
reverse:
image: nginx:stable-alpine
container_name: reverse
hostname: reverse
restart: always

View File

@ -1,9 +1,8 @@
services:
reverse:
image: nginx:stable-alpine
container_name: reverse
hostname: reverse
restart: always
extends:
file: compose_extends/docker-compose.base.yaml
service: reverse
extra_hosts:
- "host.docker.internal=host-gateway"
volumes:
@ -15,11 +14,11 @@ services:
- "./resources:/var/www/html/resources:ro"
- "./ssl:/etc/nginx/ssl:ro"
- "./logs:/var/log/nginx/"
networks:
services: {}
ports:
- 80:80
- 443:443
networks:
- services
networks:
services: