mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
small fix, don't worry about it
This commit is contained in:
+7
-9
@@ -6,7 +6,7 @@ services:
|
||||
POSTGRES_USER: ${DB_USER:-trackeep}
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD:?DB_PASSWORD is required}
|
||||
ports:
|
||||
- "${DB_PORT:-5432}:5432"
|
||||
- "${DB_HOST_PORT:-5433}:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgres/data
|
||||
restart: unless-stopped
|
||||
@@ -21,7 +21,7 @@ services:
|
||||
image: ghcr.io/dragonflydb/dragonfly:latest
|
||||
container_name: dragonfly
|
||||
ports:
|
||||
- "${DRAGONFLY_PORT:-6379}:6379"
|
||||
- "${DRAGONFLY_HOST_PORT:-6380}:6379"
|
||||
volumes:
|
||||
- dragonfly_data:/data
|
||||
command: dragonfly --requirepass=${DRAGONFLY_PASSWORD} --proactor_threads=2
|
||||
@@ -40,13 +40,13 @@ services:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "${BACKEND_PORT:-8080}:${BACKEND_PORT:-8080}"
|
||||
- "${BACKEND_HOST_PORT:-9000}:${BACKEND_PORT:-8080}"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- APP_VERSION=${APP_VERSION:-1.0.0}
|
||||
- BACKEND_PORT=${BACKEND_PORT:-8080}
|
||||
- FRONTEND_PORT=${FRONTEND_PORT:-8080}
|
||||
- FRONTEND_PORT=${FRONTEND_PORT:-3000}
|
||||
- DRAGONFLY_ADDR=${DRAGONFLY_ADDR:-dragonfly:6379}
|
||||
- DRAGONFLY_PASSWORD=${DRAGONFLY_PASSWORD}
|
||||
- VITE_DEMO_MODE=${VITE_DEMO_MODE:-false}
|
||||
@@ -73,15 +73,13 @@ services:
|
||||
dockerfile: ./frontend/Dockerfile
|
||||
args:
|
||||
- VITE_DEMO_MODE=${VITE_DEMO_MODE:-false}
|
||||
- VITE_API_URL=${VITE_API_URL:-http://localhost:8080}
|
||||
- VITE_OAUTH_SERVICE_URL=${VITE_OAUTH_SERVICE_URL:-https://oauth.trackeep.org}
|
||||
- VITE_API_URL=${VITE_API_URL:-http://localhost:${BACKEND_HOST_PORT:-9000}}
|
||||
ports:
|
||||
- "${FRONTEND_PORT:-3000}:${FRONTEND_PORT:-3000}"
|
||||
- "${FRONTEND_HOST_PORT:-3900}:${FRONTEND_PORT:-3000}"
|
||||
environment:
|
||||
- VITE_APP_VERSION=${APP_VERSION:-1.0.0}
|
||||
- VITE_DEMO_MODE=${VITE_DEMO_MODE:-false}
|
||||
- VITE_API_URL=${VITE_API_URL:-http://localhost:8080}
|
||||
- VITE_OAUTH_SERVICE_URL=${VITE_OAUTH_SERVICE_URL:-https://oauth.trackeep.org}
|
||||
- VITE_API_URL=${VITE_API_URL:-http://localhost:${BACKEND_HOST_PORT:-9000}}
|
||||
- FRONTEND_PORT=${FRONTEND_PORT:-3000}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock # Docker socket for updates
|
||||
|
||||
Reference in New Issue
Block a user