2021-10-24 04:18:18 +02:00
|
|
|
services:
|
|
|
|
workspace:
|
|
|
|
build:
|
2023-10-23 23:38:50 +02:00
|
|
|
context: "./"
|
|
|
|
dockerfile: "./Dockerfile"
|
2021-10-24 04:18:18 +02:00
|
|
|
volumes:
|
2023-10-23 23:38:50 +02:00
|
|
|
- "..:/workspace:cached"
|
|
|
|
command: "sleep infinity"
|
|
|
|
network_mode: "host"
|
2021-10-24 04:18:18 +02:00
|
|
|
|
|
|
|
thream-database:
|
2023-10-23 23:38:50 +02:00
|
|
|
image: "postgres:15.4"
|
2021-10-24 04:18:18 +02:00
|
|
|
environment:
|
2023-10-23 23:38:50 +02:00
|
|
|
POSTGRES_USER: "thream_user"
|
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
POSTGRES_DB: "thream"
|
2021-10-24 04:18:18 +02:00
|
|
|
volumes:
|
2023-10-23 23:38:50 +02:00
|
|
|
- "thream-postgres-data:/var/lib/postgresql/data"
|
|
|
|
restart: "unless-stopped"
|
|
|
|
network_mode: "host"
|
2021-10-24 04:18:18 +02:00
|
|
|
|
|
|
|
volumes:
|
2023-07-22 16:26:27 +02:00
|
|
|
thream-postgres-data:
|