myoauth/example/app/docker-compose.yml

21 lines
460 B
YAML

name: myoauth
services:
myoauth_core:
image: arielherself/myoauth:latest
container_name: myoauth_core
environment:
POSTGRES_HOST: postgres
POSTGRES_PASSWORD: postgres
depends_on:
- myoauth_db
links:
- "myoauth_db:postgres"
myoauth_db:
image: postgres:latest
container_name: myoauth_db
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/db.sql
environment:
POSTGRES_PASSWORD: postgres