spejstore/docker-compose.yml

35 lines
596 B
YAML

version: "3.4"
services:
db:
build: postgres-hstore
restart: always
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
web:
build:
context: .
dockerfile: Dockerfile.nixified
target: spejstore
restart: always
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db
environment:
- SPEJSTORE_CLIENT_ID
- SPEJSTORE_SECRET
- SPEJSTORE_ENV
labelmaker:
build:
context: .
dockerfile: Dockerfile.nixified
target: labelmaker
depends_on:
- web
ports:
- "4567:4567"