feat(upgrade): changes to code to support new template

This commit is contained in:
Amruth Pillai
2022-04-08 09:37:26 +02:00
parent 9cd36fcb9b
commit 1df78100ca
14 changed files with 2810 additions and 1801 deletions

View File

@ -7,14 +7,17 @@ x-env-shared: &env-shared
- PUBLIC_SERVER_URL=http://localhost/api
- PUBLIC_GOOGLE_CLIENT_ID=
x-env-database: &env-database
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
x-env-server: &env-server
environment:
- SECRET_KEY=
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DATABASE=postgres
- POSTGRES_SSL_CERT=
- JWT_SECRET=
- JWT_EXPIRY_TIME=604800
@ -34,6 +37,9 @@ services:
postgres:
image: postgres:14.2-alpine
container_name: postgres
<<: *env-database
ports:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
@ -60,7 +66,8 @@ services:
image: amruthpillai/reactive-resume:server-latest
container_name: server
<<: *env-shared
<<: *env-server
<<: *env-server
<<: *env-database
depends_on:
- traefik
- postgres