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/docker-compose.yml
2022-04-08 21:36:29 +02:00

31 lines
596 B
YAML

version: '3.0'
services:
workspace:
build:
context: './'
dockerfile: './Dockerfile'
volumes:
- '..:/workspace:cached'
command: 'sleep infinity'
extra_hosts:
- 'host.docker.internal:host-gateway'
thream-database:
image: 'postgres:14.2'
environment:
POSTGRES_USER: 'user'
POSTGRES_PASSWORD: 'password'
POSTGRES_DB: 'thream'
volumes:
- 'postgres-data:/var/lib/postgresql/data'
restart: 'unless-stopped'
thream-maildev:
image: 'maildev/maildev:1.1.0'
ports:
- '1080:80'
volumes:
postgres-data: