This commit is contained in:
tuanvu
2026-01-29 23:09:14 +01:00
parent 302c7d9ed4
commit 64040c92ab
3 changed files with 1 additions and 22 deletions

View File

@@ -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

View File

@@ -3,7 +3,7 @@ services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
- "8080:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock