Skip to content

Commit d5dc8a7

Browse files
[OPS-11357] align with hpc_service changes
1 parent 79d9d18 commit d5dc8a7

File tree

2 files changed

+26
-29
lines changed

2 files changed

+26
-29
lines changed

compose.integrated.yaml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,29 @@ services:
44
context: .
55
dockerfile: ./env/api/Dockerfile
66
expose:
7-
- '5100'
8-
- '9393'
7+
- '3000'
98
ports:
109
- '9339:9393'
1110
volumes:
1211
- .:/srv/www
1312
- ../hpc-api-core:/srv/hpc-api-core
1413
- ./env/api/node.sh:/etc/services.d/node/run
1514
environment:
16-
- LOG_MODE=devServer
17-
- POSTGRES_SERVER=postgres://postgres:@pgsql:5432/hpc
18-
- PORT=5100
19-
- NODE_ENV=development
20-
- NAME=hpc-api-integrated-development
21-
- POSTGRES_LOGGING=0
22-
- ROOT_URL=http://service.hpc.vm/
23-
- AUTHBASE_URL=http://api.hid.vm
24-
- WAIT_HOSTS=pgsql:5432
25-
- WAIT_HOSTS_TIMEOUT=120
15+
LOG_MODE: devServer
16+
POSTGRES_SERVER: postgres://postgres:@db:5432/hpc
17+
PORT: 3000
18+
NODE_ENV: development
19+
NAME: hpc-api-integrated-development
20+
POSTGRES_LOGGING: 0
21+
ROOT_URL: http://service.hpc.local/
22+
AUTHBASE_URL: http://api.hid.local
23+
WAIT_HOSTS: db:5432, solr:8983
24+
WAIT_HOSTS_TIMEOUT: 120
2625
networks:
27-
service:
26+
hpc:
2827
aliases:
29-
- api.hpc.vm
28+
- apiv4.hpc.local
3029
networks:
31-
service:
32-
name: hpcservice_service
30+
hpc:
31+
name: hpc
3332
external: true

compose.yaml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,21 @@ services:
44
context: .
55
dockerfile: ./env/api/Dockerfile
66
ports:
7-
- '4000:5100'
7+
- '3000:3000'
88
volumes:
99
- .:/srv/www
1010
- ./env/api/node.sh:/etc/services.d/node/run
1111
environment:
12-
- LOG_MODE=devServer
13-
- POSTGRES_SERVER=postgres://demo:[email protected]:5432/demo
14-
- PORT=5100
15-
- NODE_ENV=development
16-
- NAME=hpc-api-standalone-development
17-
- POSTGRES_LOGGING=0
18-
- ROOT_URL=http://service.hpc.vm/
19-
- AUTHBASE_URL=http://api.hid.vm
20-
- WAIT_HOSTS=host.docker.internal:5432
21-
- WAIT_HOSTS_TIMEOUT=120
22-
links:
23-
- db
12+
LOG_MODE: devServer
13+
POSTGRES_SERVER: postgres://demo:demo@db:5432/demo
14+
PORT: 3000
15+
NODE_ENV: development
16+
NAME: hpc-api-standalone-development
17+
POSTGRES_LOGGING: 0
18+
ROOT_URL: http://service.hpc.local/
19+
AUTHBASE_URL: http://api.hid.local
20+
WAIT_HOSTS: db:5432
21+
WAIT_HOSTS_TIMEOUT: 120
2422
depends_on:
2523
- db
2624
db:

0 commit comments

Comments
 (0)