myoauth/example/app/docker-compose.yml

21 lines
460 B
YAML
Raw Normal View History

2024-04-02 04:17:45 +01:00
name: myoauth
services:
myoauth_core:
image: arielherself/myoauth:latest
2024-04-02 04:17:45 +01:00
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