mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-05 20:44:19 +01:00
Things!
This commit is contained in:
25
compose.yaml
Normal file
25
compose.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
dockerfile: containers/python/Containerfile.dev
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
environment:
|
||||
DATABASE_URL: postgres://tvdt:tvdt@db:5432/tvdt
|
||||
DEBUG: true
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: postgres:17.2
|
||||
environment:
|
||||
POSTGRES_PASSWORD: tvdt
|
||||
POSTGRES_USER: tvdt
|
||||
POSTGRES_DB: tvdt
|
||||
volumes:
|
||||
- data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
volumes:
|
||||
data:
|
||||
Reference in New Issue
Block a user