add some stupid solutions
This commit is contained in:
parent
589c3faae0
commit
7e1823dca6
|
@ -0,0 +1,6 @@
|
||||||
|
services:
|
||||||
|
reverse:
|
||||||
|
image: nginx:stable-alpine
|
||||||
|
container_name: reverse
|
||||||
|
hostname: reverse
|
||||||
|
restart: always
|
|
@ -1,9 +1,8 @@
|
||||||
services:
|
services:
|
||||||
reverse:
|
reverse:
|
||||||
image: nginx:stable-alpine
|
extends:
|
||||||
container_name: reverse
|
file: compose_extends/docker-compose.base.yaml
|
||||||
hostname: reverse
|
service: reverse
|
||||||
restart: always
|
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal=host-gateway"
|
- "host.docker.internal=host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -15,11 +14,11 @@ services:
|
||||||
- "./resources:/var/www/html/resources:ro"
|
- "./resources:/var/www/html/resources:ro"
|
||||||
- "./ssl:/etc/nginx/ssl:ro"
|
- "./ssl:/etc/nginx/ssl:ro"
|
||||||
- "./logs:/var/log/nginx/"
|
- "./logs:/var/log/nginx/"
|
||||||
networks:
|
|
||||||
services: {}
|
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
networks:
|
||||||
|
- services
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
services:
|
services:
|
Loading…
Reference in New Issue