2
1
mirror of https://github.com/Thream/api.git synced 2024-07-21 03:38:31 +02:00
api/.devcontainer/compose.yaml

24 lines
507 B
YAML

services:
workspace:
build:
context: './'
dockerfile: './Dockerfile'
volumes:
- '..:/workspace:cached'
command: 'sleep infinity'
network_mode: 'host'
thream-database:
image: 'postgres:15.3'
environment:
POSTGRES_USER: 'thream_user'
POSTGRES_PASSWORD: 'password'
POSTGRES_DB: 'thream'
volumes:
- 'thream-postgres-data:/var/lib/postgresql/data'
restart: 'unless-stopped'
network_mode: 'host'
volumes:
thream-postgres-data: