feat: update Dockerfile and docker-compose.yml to use WEB_PORT variable and streamline migration process

This commit is contained in:
2026-04-27 22:49:13 -04:00
parent 4fd6772f2e
commit ad89ad001d
5 changed files with 9 additions and 14 deletions
+1 -7
View File
@@ -19,12 +19,8 @@ services:
AUTHENTIK_CLIENT_ID: ${AUTHENTIK_CLIENT_ID:-}
AUTHENTIK_CLIENT_SECRET: ${AUTHENTIK_CLIENT_SECRET:-}
AUTHENTIK_ORIGIN: ${AUTHENTIK_ORIGIN:-}
command:
- sh
- -c
- bun src/server/db/migrate.ts && bun server.js
ports:
- "3000:3000"
- "${WEB_PORT:-3000}:3000"
depends_on:
db:
condition: service_healthy
@@ -38,8 +34,6 @@ services:
POSTGRES_DB: ${POSTGRES_DB:-postgres}
volumes:
- beenvoice_pg_data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U \"$${POSTGRES_USER}\" -d \"$${POSTGRES_DB}\""]
interval: 5s