fini TP1
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
services:
|
|
||||||
nginx-proxy:
|
|
||||||
image: jwilder/nginx-proxy
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/tmp/docker.sock
|
|
||||||
|
|
||||||
virtual-host:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: dockerfile
|
|
||||||
expose:
|
|
||||||
- "8080"
|
|
||||||
environment:
|
|
||||||
- VIRTUAL_HOST=m
|
|
||||||
- VIRTUAL_PORT=8080
|
|
||||||
deploy:
|
|
||||||
mode: replicated
|
|
||||||
replicas: 4
|
|
||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
nginx-proxy:
|
nginx-proxy:
|
||||||
image: jwilder/nginx-proxy
|
image: jwilder/nginx-proxy
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock
|
- /var/run/docker.sock:/tmp/docker.sock
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user