Skip to content

Commit 94dd9bb

Browse files
committed
fix: read password from server env file on deploy
1 parent 3febd85 commit 94dd9bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ssh -o ServerAliveInterval=5 $SERVER "docker rm -f snapkit 2>/dev/null; docker r
2121
--network dokploy-network \
2222
-v $APP_DIR/brands:/app/brands \
2323
-v /opt/snapkit-data:/app/data \
24-
-e SNAPKIT_PASSWORD=\${SNAPKIT_PASSWORD:-snapkit2026} \
24+
--env-file /opt/snapkit-data/.env \
2525
--restart unless-stopped \
2626
--label 'traefik.enable=true' \
2727
--label 'traefik.http.routers.snapkit.rule=Host(\`snapkit.vibery.app\`)' \

0 commit comments

Comments
 (0)