21 lines
385 B
YAML
21 lines
385 B
YAML
version: '3.4'
|
|
services:
|
|
# Postgres DB
|
|
db:
|
|
image: postgres:12
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
{{ .AppNameSlug -}}_api:
|
|
image: dosco/super-graph:latest
|
|
environment:
|
|
GO_ENV: "development"
|
|
volumes:
|
|
- ./config:/config
|
|
ports:
|
|
- "8080:8080"
|
|
depends_on:
|
|
- db |