basic config

This commit is contained in:
2025-07-25 05:42:59 +03:00
parent 23057702ae
commit 59743cf9cc
4 changed files with 13 additions and 16 deletions

View File

@ -4,7 +4,6 @@ services:
command: serve -c /etc/config/hydra/hydra.yml all --dev
depends_on:
- hydra-migrate
- postgres
volumes:
- type: bind
source: ./config/hydra
@ -12,7 +11,7 @@ services:
networks:
- appnet
environment:
- DSN=postgres://hydra:secret@postgres:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
- DSN=postgres://postgres:GjitkeYf%5Beq@172.17.0.1:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
hydra-migrate:
image: oryd/hydra:v2.3.0
command: migrate -c /etc/config/hydra/hydra.yml sql up -e --yes
@ -23,9 +22,7 @@ services:
networks:
- appnet
environment:
- DSN=postgres://hydra:secret@postgres:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
depends_on:
- postgres
- DSN=postgres://postgres:GjitkeYf%5Beq@172.17.0.1:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
nginx:
image: nginx:latest
volumes:
@ -41,14 +38,6 @@ services:
- front
networks:
- appnet
postgres:
image: postgres:17
environment:
- POSTGRES_USER=hydra
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=hydra
networks:
- appnet
front:
image: git.logidex.ru/aserbin/logidex-id-frontend:latest
environment: