docker-compose.yml aktualisiert
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
services:
|
||||
|
||||
|
||||
app:
|
||||
build: .
|
||||
container_name: test-app
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://admin:arfg486352wp@db:5432/testdb
|
||||
- JWT_SECRET=3yai*U*Wr%kWQXXpF8xNtQQFyafm1e5PZVhWiD1j*CvPpA@2LzFgTs
|
||||
- PORT=5003
|
||||
ports:
|
||||
- "5003:5003"
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
|
||||
db:
|
||||
image: postgres:18
|
||||
container_name: postgres-db
|
||||
environment:
|
||||
POSTGRES_USER: admin
|
||||
POSTGRES_PASSWORD: arfg486352wp
|
||||
POSTGRES_DB: testdb
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql
|
||||
|
||||
volumes:
|
||||
postgres-data:
|
||||
Reference in New Issue
Block a user