Initial commit
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:17
|
||||
container_name: pingu-concerts-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: concerts
|
||||
POSTGRES_USER: concerts
|
||||
POSTGRES_PASSWORD: change-me-later
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./db/init:/docker-entrypoint-initdb.d:ro
|
||||
|
||||
web:
|
||||
build: ./app
|
||||
container_name: pingu-concerts-web
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:8000"
|
||||
environment:
|
||||
DATABASE_URL: postgresql://concerts:change-me-later@db:5432/concerts
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user