Change web interface ports to use expose in docker-compose.yml instead of ports
Change any port changes in docker-compose files to use expose and the default port instead of 3001:3000 Any localhost limited ports changed to expose instead Add requestrr to caddyfile
This commit is contained in:
@@ -6,11 +6,11 @@ services:
|
||||
- dockerproxy
|
||||
environment:
|
||||
DOCKER_TEMPLATE_CREATED: true
|
||||
expose:
|
||||
- "3000"
|
||||
networks:
|
||||
- proxy-net
|
||||
- default
|
||||
ports:
|
||||
- "3001:3000"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config:/app/config # Make sure your local config directory exists
|
||||
@@ -22,8 +22,8 @@ services:
|
||||
- SERVICES=1 # Allow access to viewing services (necessary when using Docker Swarm)
|
||||
- TASKS=1 # Allow access to viewing tasks (necessary when using Docker Swarm)
|
||||
- POST=0 # Disallow any POST operations (effectively read-only)
|
||||
ports:
|
||||
- "127.0.0.1:2375:2375"
|
||||
expose:
|
||||
- "2375"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
|
||||
|
||||
Reference in New Issue
Block a user