mirror of
https://github.com/R0m1k3/Presencia.git
synced 2026-10-11 17:27:42 +02:00
- Admin : michaelschal@ffest.fr / Michael - Mot de passe Postgres généré aléatoirement
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: presencia
|
|
POSTGRES_PASSWORD: R4dsITu0vuigNQQwNlvj0agVyHupSyX
|
|
POSTGRES_DB: presencia
|
|
volumes:
|
|
- presencia_pgdata:/var/lib/postgresql/data
|
|
ports:
|
|
- "6543:5432"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U presencia"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
backend:
|
|
build: ./backend
|
|
restart: unless-stopped
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
environment:
|
|
PORT: 4790
|
|
PGHOST: db
|
|
PGPORT: 5432
|
|
PGUSER: presencia
|
|
PGPASSWORD: presencia_change_me
|
|
PGDATABASE: presencia
|
|
JWT_SECRET: change-me-to-a-long-random-string
|
|
COOKIE_SECURE: "false"
|
|
ADMIN_EMAIL: michaelschal@ffest.fr
|
|
ADMIN_PASSWORD: Lapîn2509
|
|
ADMIN_NAME: Michael
|
|
ports:
|
|
- "4790:4790"
|
|
|
|
frontend:
|
|
build: ./frontend
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- backend
|
|
ports:
|
|
- "8781:80"
|
|
|
|
networks:
|
|
default:
|
|
name: nginx_default
|
|
external: true
|
|
|
|
volumes:
|
|
presencia_pgdata:
|