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

26 lines
513 B
YAML
Raw Normal View History

2021-10-24 04:18:18 +02:00
version: '3.0'
services:
workspace:
build:
context: './'
dockerfile: './Dockerfile'
volumes:
- '..:/workspace:cached'
command: 'sleep infinity'
2022-04-08 21:36:29 +02:00
extra_hosts:
- 'host.docker.internal:host-gateway'
2021-10-24 04:18:18 +02:00
thream-database:
2023-05-13 20:09:02 +02:00
image: 'postgres:15.3'
2021-10-24 04:18:18 +02:00
environment:
POSTGRES_USER: 'user'
POSTGRES_PASSWORD: 'password'
POSTGRES_DB: 'thream'
volumes:
- 'postgres-data:/var/lib/postgresql/data'
restart: 'unless-stopped'
volumes:
postgres-data: