fix: Use build directive for standalone Docker (not Swarm)
This commit is contained in:
@@ -9,13 +9,13 @@ services:
|
||||
- /mnt/DockerMount/minio-webui/redis:/data
|
||||
networks:
|
||||
- minio-webui-network
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: any
|
||||
restart: unless-stopped
|
||||
|
||||
# Combined app (backend + frontend)
|
||||
app:
|
||||
image: theluap/minio-webui:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
@@ -48,9 +48,7 @@ services:
|
||||
- /mnt/DockerMount/minio-webui/mc-config:/home/nodejs/.mc
|
||||
depends_on:
|
||||
- redis
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: any
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.minio-webui.rule=Host(`minio-webui.local.nothaft.cloud`)"
|
||||
|
||||
Reference in New Issue
Block a user