super-graph/internal/serv/tmpl/docker-compose.yml

21 lines
385 B
YAML
Raw Permalink Normal View History

2019-11-15 07:35:19 +01:00
version: '3.4'
services:
2020-02-07 07:12:14 +01:00
# 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