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
Raw 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: