fix: change dev port of traefik to 8000

This commit is contained in:
Justin Lin committed 2025-05-05 19:55:41 +08:00
1 parent 307af61726
commit c2566cf3dd
2 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
HOST=localhost HOST=localhost
PORT=3000 PORT=3000
BASE_URL=http://localhost:5173 BASE_URL=http://localhost:8000
MONGO_URL=mongodb://localhost:27017/odyssey-test MONGO_URL=mongodb://localhost:27017/odyssey-test
SECRET_KEY=sample-secret SECRET_KEY=sample-secret
DOCKER_NETWORK=linux-odyssey-players-dev DOCKER_NETWORK=linux-odyssey-players-dev
+2 -4
View File
@@ -10,11 +10,9 @@ services:
- '--providers.docker.exposedbydefault=false' - '--providers.docker.exposedbydefault=false'
- '--providers.file.directory=/etc/traefik/conf' - '--providers.file.directory=/etc/traefik/conf'
- '--providers.file.watch=true' - '--providers.file.watch=true'
- '--entrypoints.web.address=:80' - '--entrypoints.web.address=:8000'
- '--entrypoints.websecure.address=:443'
ports: ports:
- '80:80' - '8000:8000'
- '443:443'
- '8080:8080' - '8080:8080'
extra_hosts: extra_hosts:
- 'host.docker.internal:host-gateway' - 'host.docker.internal:host-gateway'