gege-jdr-backend/docker/compose.dev.yml
Lucien Cartier-Tilet d9e29b62b7
All checks were successful
CI / tests (push) Successful in 17m15s
CI / tests (pull_request) Successful in 16m18s
feat: OAuth implementation with Discord
This commit separates the core features of géjdr from the backend as
these will also be used by the bot in the future.

This commit also updates the dependencies of the project. It also
removes the dependency lettre as well as the mailpit docker service
for developers as it appears clearer this project won’t send emails
anytime soon.

The publication of a docker image is also postponed until later.
2025-01-11 03:03:23 +01:00

37 lines
988 B
YAML

services:
db:
image: postgres:16-alpine
restart: unless-stopped
container_name: gege-jdr-backend-db
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
ports:
- 127.0.0.1:5432:5432
volumes:
- gege_jdr_backend_db_data:/var/lib/postgresql/data
# If you run GegeJdrBackend in production, I recommend you to
# not run PgAdmin with it.
pgadmin:
image: dpage/pgadmin4:8
restart: unless-stopped
container_name: gege-jdr-backend-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: admin@example.com
PGADMIN_DEFAULT_PASSWORD: password
# Disables sending emails. Disable it if you decide to run
# PgAdmin in production
PGADMIN_DISABLE_POSTFIX: true
ports:
- 127.0.0.1:8080:80
volumes:
- gege_jdr_backend_pgadmin_data:/var/lib/pgadmin
depends_on:
- db
volumes:
gege_jdr_backend_db_data:
gege_jdr_backend_pgadmin_data: