2024-04-02 04:17:45 +01:00
|
|
|
name: myoauth
|
|
|
|
services:
|
|
|
|
myoauth_core:
|
2024-04-02 07:21:30 +01:00
|
|
|
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
|
|
|
|
|