File tree Expand file tree Collapse file tree 2 files changed +26
-29
lines changed Expand file tree Collapse file tree 2 files changed +26
-29
lines changed Original file line number Diff line number Diff line change @@ -4,30 +4,29 @@ services:
4
4
context : .
5
5
dockerfile : ./env/api/Dockerfile
6
6
expose :
7
- - ' 5100'
8
- - ' 9393'
7
+ - ' 3000'
9
8
ports :
10
9
- ' 9339:9393'
11
10
volumes :
12
11
- .:/srv/www
13
12
- ../hpc-api-core:/srv/hpc-api-core
14
13
- ./env/api/node.sh:/etc/services.d/node/run
15
14
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
26
25
networks :
27
- service :
26
+ hpc :
28
27
aliases :
29
- - api .hpc.vm
28
+ - apiv4 .hpc.local
30
29
networks :
31
- service :
32
- name : hpcservice_service
30
+ hpc :
31
+ name : hpc
33
32
external : true
Original file line number Diff line number Diff line change @@ -4,23 +4,21 @@ services:
4
4
context : .
5
5
dockerfile : ./env/api/Dockerfile
6
6
ports :
7
- - ' 4000:5100 '
7
+ - ' 3000:3000 '
8
8
volumes :
9
9
- .:/srv/www
10
10
- ./env/api/node.sh:/etc/services.d/node/run
11
11
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
24
22
depends_on :
25
23
- db
26
24
db :
You can’t perform that action at this time.
0 commit comments