Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Merge branch 'main' into patch-3

Amruth Pillai36ae54fe17f2
diff --cc docker-compose.yml
index 77cc0de76,6861c585d..0cf91f843
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@@ -2,11 -2,11 +2,10 @@@ version: "3.8
services:
postgres:
- image: postgres:14.2-alpine
- environment:
- - POSTGRES_DB=postgres
- - POSTGRES_USER=postgres
- - POSTGRES_PASSWORD=postgres
+ image: postgres:alpine
- container_name: postgres
+ restart: always
+ ports:
+ - 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
@@@ -33,10 -25,15 +24,14 @@@
# build:
# context: .
# dockerfile: ./server/Dockerfile
- container_name: server
+ restart: always
+ ports:
+ - 3100:3100
+ depends_on:
+ - postgres
environment:
- - TZ=UTC
- PUBLIC_URL=http://localhost:3000
- - PUBLIC_SERVER_URL=http://localhost:3000/api
+ - PUBLIC_SERVER_URL=http://localhost:3100
- PUBLIC_GOOGLE_CLIENT_ID=
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
@@@ -76,20 -64,16 +62,15 @@@
# build:
# context: .
# dockerfile: ./client/Dockerfile
- container_name: client
+ restart: always
+ ports:
+ - 3000:3000
+ depends_on:
+ - server
environment:
- - TZ=UTC
- PUBLIC_URL=http://localhost:3000
- - PUBLIC_SERVER_URL=http://localhost:3000/api
+ - PUBLIC_SERVER_URL=http://localhost:3100
- PUBLIC_GOOGLE_CLIENT_ID=
- - PUBLIC_FLAG_DISABLE_SIGNUPS=false
- depends_on:
- - traefik
- - server
- labels:
- - traefik.enable=true
- - traefik.http.routers.client.rule=Host(`localhost`)
- - traefik.http.routers.client.entrypoints=web
- restart: always
volumes:
-- pgdata:
++ pgdata: