File tree Expand file tree Collapse file tree 1 file changed +25
-25
lines changed Expand file tree Collapse file tree 1 file changed +25
-25
lines changed Original file line number Diff line number Diff line change 11version : " 3.7"
22services :
3- api :
4- build :
5- context : .
6- dockerfile : Dockerfile
7- environment :
8- DATABASE_URL : postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT}/${POSTGRES_DB}
9- JWT_SECRET : ${JWT_SECRET}
10- JWT_LIFE_TIME : ${JWT_LIFE_TIME}
11- IMG_UPLOAD_FOLDER : ${IMG_UPLOAD_FOLDER}
12- BODY_PARSER_JSON_LIMIT : ${BODY_PARSER_JSON_LIMIT}
13- APP_FRONTEND_URL : ${APP_FRONTEND_URL}
14- ports :
15- - " ${APP_PORT}:3000"
16- expose :
17- - " ${APP_PORT}"
18- depends_on :
19- - postgres
3+ # api:
4+ # build:
5+ # context: .
6+ # dockerfile: Dockerfile
7+ # environment:
8+ # DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT}/${POSTGRES_DB}
9+ # JWT_SECRET: ${JWT_SECRET}
10+ # JWT_LIFE_TIME: ${JWT_LIFE_TIME}
11+ # IMG_UPLOAD_FOLDER: ${IMG_UPLOAD_FOLDER}
12+ # BODY_PARSER_JSON_LIMIT: ${BODY_PARSER_JSON_LIMIT}
13+ # APP_FRONTEND_URL: ${APP_FRONTEND_URL}
14+ # ports:
15+ # - "${APP_PORT}:3000"
16+ # expose:
17+ # - "${APP_PORT}"
18+ # depends_on:
19+ # - postgres
2020 postgres :
2121 image : postgres:12
2222 restart : always
@@ -30,13 +30,13 @@ services:
3030 - " ${POSTGRES_PORT}"
3131 volumes :
3232 - postgres:/var/lib/postgresql/data
33- migration :
34- build :
35- context : prisma
36- dockerfile : Dockerfile
37- environment :
38- DATABASE_URL : postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT}/${POSTGRES_DB}
39- depends_on :
40- - postgres
33+ # migration:
34+ # build:
35+ # context: prisma
36+ # dockerfile: Dockerfile
37+ # environment:
38+ # DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT}/${POSTGRES_DB}
39+ # depends_on:
40+ # - postgres
4141volumes :
4242 postgres:
You can’t perform that action at this time.
0 commit comments