* build(deps): bump org.springframework.boot:spring-boot-starter-parent Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.5.4 to 3.5.5. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.5.4...v3.5.5) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-starter-parent dependency-version: 3.5.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.jsonwebtoken:jjwt-jackson in /server Bumps io.jsonwebtoken:jjwt-jackson from 0.12.7 to 0.13.0. --- updated-dependencies: - dependency-name: io.jsonwebtoken:jjwt-jackson dependency-version: 0.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.jsonwebtoken:jjwt-impl in /server Bumps [io.jsonwebtoken:jjwt-impl](https://github.com/jwtk/jjwt) from 0.12.7 to 0.13.0. - [Release notes](https://github.com/jwtk/jjwt/releases) - [Changelog](https://github.com/jwtk/jjwt/blob/master/CHANGELOG.md) - [Commits](https://github.com/jwtk/jjwt/compare/0.12.7...0.13.0) --- updated-dependencies: - dependency-name: io.jsonwebtoken:jjwt-impl dependency-version: 0.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.jsonwebtoken:jjwt-api in /server Bumps [io.jsonwebtoken:jjwt-api](https://github.com/jwtk/jjwt) from 0.12.7 to 0.13.0. - [Release notes](https://github.com/jwtk/jjwt/releases) - [Changelog](https://github.com/jwtk/jjwt/blob/master/CHANGELOG.md) - [Commits](https://github.com/jwtk/jjwt/compare/0.12.7...0.13.0) --- updated-dependencies: - dependency-name: io.jsonwebtoken:jjwt-api dependency-version: 0.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * feat: add Taskfile * feat: add files, tasks and more automations * feat: disable email sending if not configured * chore: rename client to tasknote-web * feat: add devtools for faster development * feat: Re-tag Docker image with 'latest' tag * feat: update wording and improve taskfile * Implement ApplicationRunner for startup logging * fix: add reachability json file * feat: drop old config for JJWT * Revert "feat: drop old config for JJWT" This reverts commit ed29cf4684454b0d5e3f1a284b479e2bb6872ad7. * chore: JJWT finally working now * test: fix test cases * ci: fix permissions * test: add more test cases --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
---
|
|
|
|
services:
|
|
tasknote-web:
|
|
container_name: tasknote-web
|
|
depends_on:
|
|
tasknote-api:
|
|
condition: service_healthy
|
|
image: ghcr.io/ricardo-campos-org/react-typescript-todolist/tasknote-web:candidate
|
|
build:
|
|
context: client
|
|
dockerfile: Dockerfile
|
|
ports: ["5000:5000"]
|
|
environment:
|
|
VITE_BACKEND_SERVER: http://localhost:8585
|
|
VITE_BUILD: nightly
|
|
|
|
tasknote-api:
|
|
container_name: tasknote-api
|
|
depends_on:
|
|
tasknote-db:
|
|
condition: service_healthy
|
|
environment:
|
|
POSTGRES_DB: tasknote
|
|
POSTGRES_HOST: tasknote-db
|
|
POSTGRES_USER: tasknoteuser
|
|
POSTGRES_PASSWORD: default
|
|
POSTGRES_PORT: 5432
|
|
CORS_ALLOWED_ORIGINS: http://tasknote-web:5000, http://localhost:5000
|
|
SERVER_SERVLET_CONTEXT_PATH: /
|
|
TARGET_ENV: development
|
|
SECURITY_KEY: this-is-a-very-long-security-key-for-dev
|
|
MAILGUN_APIKEY: invalid-api-key-only-placeholder
|
|
ports: ["8585:8585"]
|
|
image: ghcr.io/ricardo-campos-org/react-typescript-todolist/tasknote-api:candidate
|
|
build:
|
|
context: server
|
|
dockerfile: Dockerfile
|
|
|
|
tasknote-db:
|
|
container_name: tasknote-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
|