Files
tasknote/docker-compose.prod.yml
T
rmcamposandGitHub dbb8e37d88 feat: add email validation and password reset (#430)
* feat: add user confirmation email - wip

issue #414

* feat: improve register flow and add confirmation email done. Issue 414

* feat: add resend email feature. Issue #414

* feat: add password reset feature. Issue #415

* test: fix and add test cases

* fix: email_uuid column actually can be null

* test: add mailgun service class unit tests

* test: add tests for the authservice and mailgun service classes

* chore: fix sonar cloud issues

* test: add client test

* test: add more test cases

* test: fix test acse

* test: add more test cases

* chore: fix sonar code smells

* chore: remove role element from dic
2025-04-27 16:22:11 -03:00

50 lines
1.1 KiB
YAML

---
services:
client:
container_name: client
depends_on:
server:
condition: service_healthy
environment:
VITE_BACKEND_SERVER: http://localhost:8585
VITE_BUILD: snapshot
image: ghcr.io/ricardo-campos-org/react-typescript-todolist/client:candidate
ports:
- "5000:5000"
server:
container_name: server
depends_on:
db:
condition: service_healthy
environment:
POSTGRES_DB: tasknote
POSTGRES_HOST: db
POSTGRES_USER: tasknoteuser
POSTGRES_PASSWORD: default
POSTGRES_PORT: 5432
CORS_ALLOWED_ORIGINS: http://localhost:5000
SERVER_SERVLET_CONTEXT_PATH: /
SECURITY_KEY: ${SECURITY_KEY}
TARGET_ENV: production
ports:
- "8585:8585"
image: server:candidate
db:
container_name: db
image: postgres:15.8-bookworm
environment:
POSTGRES_DB: tasknote
POSTGRES_USER: tasknoteuser
POSTGRES_PASSWORD: default
ports:
- "5432:5432"
healthcheck:
test: psql -q -U $${POSTGRES_USER} -d $${POSTGRES_DB} -c 'SELECT 1'
interval: 1m30s
timeout: 15s
retries: 3
start_period: 10s