Skip to content

Commit 2bfe11f

Browse files
author
Przybylski Krzysztof
committed
revert
1 parent e6b29ab commit 2bfe11f

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
extends: [
99
'plugin:@typescript-eslint/eslint-recommended',
1010
'plugin:@typescript-eslint/recommended',
11-
// 'plugin:@darraghor/nestjs-typed/recommended',
11+
'plugin:@darraghor/nestjs-typed/recommended',
1212
'prettier',
1313
],
1414
root: true,

docker-compose.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
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
2020
migration:
2121
container_name: vrt_migration
2222
build:
@@ -47,19 +47,19 @@ services:
4747
timeout: 120s
4848
retries: 10
4949
# 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
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
6464
volumes:
6565
postgres:

0 commit comments

Comments
 (0)