26 lines
513 B
YAML
26 lines
513 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:15.3'
|
|
environment:
|
|
POSTGRES_USER: 'user'
|
|
POSTGRES_PASSWORD: 'password'
|
|
POSTGRES_DB: 'thream'
|
|
volumes:
|
|
- 'postgres-data:/var/lib/postgresql/data'
|
|
restart: 'unless-stopped'
|
|
|
|
volumes:
|
|
postgres-data:
|