add env variables, change port
This commit is contained in:
parent
f21e01b8f0
commit
637f9ef025
|
|
@ -3,10 +3,12 @@ services:
|
|||
container_name: mail-s3-admin
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "3060:3000"
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:password@postgres:5433/mydb?schema=public
|
||||
# ... deine bestehenden Env-Vars (AWS, SMTP, APP_PASSWORD)
|
||||
- DATABASE_URL=${DATABASE_URL}
|
||||
- APP_PASSWORD=${APP_PASSWORD}
|
||||
- PROCESSED_META_KEY=${PROCESSED_META_KEY}
|
||||
- PROCESSED_META_VALUE=${PROCESSED_META_VALUE}
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
|
|
@ -19,7 +21,7 @@ services:
|
|||
POSTGRES_PASSWORD: fiesta # Ändere das!
|
||||
POSTGRES_DB: mydb
|
||||
ports:
|
||||
- "5433:5432"
|
||||
- "5434:5432"
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue