mirror of
https://github.com/System-End/spaces.git
synced 2026-04-19 16:38:24 +00:00
update docker compose
Updated port mapping for Nginx proxy and removed unused ports.
This commit is contained in:
parent
f18cf813e8
commit
ed8b8336c3
1 changed files with 2 additions and 8 deletions
|
|
@ -5,10 +5,7 @@ services:
|
|||
build: .
|
||||
privileged: true # Required for Docker-in-Docker
|
||||
ports:
|
||||
- "80:80" # Nginx proxy
|
||||
- "3000:3000" # Backend API
|
||||
- "5173:5173" # Frontend
|
||||
- "2376:2376" # Docker daemon API
|
||||
- "2593:80" # Nginx proxy
|
||||
volumes:
|
||||
- docker-data:/var/lib/docker # Docker storage volume
|
||||
environment:
|
||||
|
|
@ -16,8 +13,5 @@ services:
|
|||
- DOCKER_HOST=unix:///var/run/docker.sock
|
||||
- DOCKER_TLS_CERTDIR=""
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway" # Enable access to Docker host ports
|
||||
|
||||
volumes:
|
||||
docker-data:
|
||||
docker-data:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue