This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
api/.devcontainer/compose.yaml

24 lines
507 B
YAML
Raw Permalink Normal View History

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