chore: rename services in docker-compose.yml for clarity and update environment variable handling
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 2m32s
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 2m32s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
peakskills-app:
|
||||
build: .
|
||||
ports:
|
||||
- "3008:3000"
|
||||
@@ -14,15 +14,15 @@ services:
|
||||
DB_PASSWORD: peakskills_password
|
||||
NEXT_PUBLIC_API_URL: ""
|
||||
# Auth.js configuration
|
||||
AUTH_SECRET: "FvhDat3sJK5TI1L4fcugCGFmLsO1BCi+mwSYeLkl8JA="
|
||||
AUTH_SECRET: ${AUTH_SECRET:-FvhDat3sJK5TI1L4fcugCGFmLsO1BCi+mwSYeLkl8JA=}
|
||||
AUTH_TRUST_HOST: "true"
|
||||
AUTH_URL: "http://localhost:3000"
|
||||
AUTH_URL: ${AUTH_URL:-http://localhost:3008}
|
||||
depends_on:
|
||||
postgres:
|
||||
peakskills-postgres:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
peakskills-postgres:
|
||||
image: postgres:15
|
||||
environment:
|
||||
POSTGRES_DB: peakskills
|
||||
@@ -40,16 +40,16 @@ services:
|
||||
retries: 5
|
||||
|
||||
# Adminer - Interface web pour PostgreSQL
|
||||
adminer:
|
||||
image: adminer:4.8.1
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
ADMINER_DEFAULT_SERVER: postgres
|
||||
ADMINER_DESIGN: pepa-linha-dark
|
||||
depends_on:
|
||||
- postgres
|
||||
# peakskills-adminer:
|
||||
# image: adminer:4.8.1
|
||||
# restart: always
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
# environment:
|
||||
# ADMINER_DEFAULT_SERVER: postgres
|
||||
# ADMINER_DESIGN: pepa-linha-dark
|
||||
# depends_on:
|
||||
# - peakskills-postgres
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user