blob: 91c06dd1806bc28aedbfc90f625c9dadfa586065 (
plain) (
tree)
|
|
services:
db:
image: postgres:16-alpine
environment:
- POSTGRES_PASSWORD=secret
volumes:
- dbasik_data:/var/lib/postgresql/data
app:
build:
context: .
volumes:
- .:/app
restart: "unless-stopped"
command: >
sh -c "go run ./cmd/dbasik-api"
ports:
- 5000:5000
depends_on:
- db
volumes:
dbasik_data:
|