change configs for deployment

This commit is contained in:
2026-03-18 02:55:58 +08:00
parent 3d44ce6e3d
commit 86c97391fe
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ services:
working_dir: /app
command: ["python", "-u", "urlshort.py", "config.json"]
ports:
- "8080:8080"
- "127.0.0.1:18082:8080"
volumes:
- ./urlshort.py:/app/urlshort.py:ro
- ./config.json:/app/config.json:ro