1
1
services :
2
- api :
3
- container_name : vrt_api
4
- build :
5
- context : .
6
- dockerfile : Dockerfile
7
- environment :
8
- DATABASE_URL : postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
9
- JWT_SECRET : ${JWT_SECRET}
10
- JWT_LIFE_TIME : ${JWT_LIFE_TIME}
11
- BODY_PARSER_JSON_LIMIT : ${BODY_PARSER_JSON_LIMIT}
12
- APP_FRONTEND_URL : ${APP_FRONTEND_URL}
13
- ports :
14
- - " ${APP_PORT}:3000"
15
- expose :
16
- - " ${APP_PORT}"
17
- depends_on :
18
- postgres :
19
- condition : service_healthy
2
+ # api:
3
+ # container_name: vrt_api
4
+ # build:
5
+ # context: .
6
+ # dockerfile: Dockerfile
7
+ # environment:
8
+ # DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
9
+ # JWT_SECRET: ${JWT_SECRET}
10
+ # JWT_LIFE_TIME: ${JWT_LIFE_TIME}
11
+ # BODY_PARSER_JSON_LIMIT: ${BODY_PARSER_JSON_LIMIT}
12
+ # APP_FRONTEND_URL: ${APP_FRONTEND_URL}
13
+ # ports:
14
+ # - "${APP_PORT}:3000"
15
+ # expose:
16
+ # - "${APP_PORT}"
17
+ # depends_on:
18
+ # postgres:
19
+ # condition: service_healthy
20
20
migration :
21
21
container_name : vrt_migration
22
22
build :
@@ -47,19 +47,19 @@ services:
47
47
timeout : 120s
48
48
retries : 10
49
49
# Available at http://localhost:5050
50
- # pgadmin:
51
- # container_name: pgadmin4
52
- # # https://hub.docker.com/r/dpage/pgadmin4
53
- # # https://www.pgadmin.org/docs/pgadmin4/latest/release_notes_7_4.html
54
- # image: dpage/pgadmin4:7.4
55
- # restart: always
56
- # environment:
57
- # PGADMIN_DEFAULT_EMAIL: [email protected]
58
- # PGADMIN_DEFAULT_PASSWORD: root
59
- # ports:
60
- # - "5050:80"
61
- # depends_on:
62
- # postgres:
63
- # condition: service_healthy
50
+ pgadmin :
51
+ container_name : pgadmin4
52
+ # https://hub.docker.com/r/dpage/pgadmin4
53
+ # https://www.pgadmin.org/docs/pgadmin4/latest/release_notes_7_4.html
54
+ image : dpage/pgadmin4
55
+ restart : always
56
+ environment :
57
+ PGADMIN_DEFAULT_EMAIL :
[email protected]
58
+ PGADMIN_DEFAULT_PASSWORD : root
59
+ ports :
60
+ - " 5050:80"
61
+ depends_on :
62
+ postgres :
63
+ condition : service_healthy
64
64
volumes :
65
65
postgres:
0 commit comments