More attempts to fix docker
This commit is contained in:
@@ -7,26 +7,10 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: svelte-mud
|
||||
restart: unless-stopped
|
||||
# We don't need to publish ports to the host if we're using a reverse proxy
|
||||
# ports:
|
||||
# - "3005:3000" # Unified server (web + WebSocket)
|
||||
networks:
|
||||
- revproxy
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
# Optional: You can set a custom port
|
||||
# - PORT=3000
|
||||
# Uncomment for adding custom healthcheck
|
||||
# healthcheck:
|
||||
# test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 3
|
||||
# start_period: 10s
|
||||
volumes:
|
||||
# Optional: Add persistent volumes if needed
|
||||
# - ./logs:/app/logs
|
||||
- /app/node_modules # Don't mount local node_modules
|
||||
|
||||
# Define networks to connect to external services
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user