Skip to content

Commit 54e76d8

Browse files
committed
integrate uffizzi
1 parent ff96a50 commit 54e76d8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docker-compose.uffizzi.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ version: '3'
33
# uffizzi integration
44
x-uffizzi:
55
ingress:
6-
service: nginx
7-
port: 8081
6+
service: dashboard
7+
port: 4040
88

99
services:
10-
1110
postgres:
1211
image: postgres
1312
environment:
@@ -37,8 +36,11 @@ services:
3736
resources:
3837
limits:
3938
memory: 1000M
39+
4040
dashboard:
41-
image: "${PARSE_DASHBOARD_IMAGE}"
41+
build:
42+
context: .
43+
dockerfile: ./Dockerfile
4244
ports:
4345
- "4040:4040"
4446
environment:
@@ -49,11 +51,12 @@ services:
4951
- PARSE_DASHBOARD_USER_PASSWORD=password
5052
- MOUNT_PATH=/dashboard
5153
- PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1
54+
# - TRUST_PROXY=1
55+
- PARSE_DASHBOARD_SERVER_URL=http://127.0.0.1:1337/parse - ERR CONN REFUSED
5256
entrypoint: /bin/sh
5357
command:
5458
- "-c"
55-
- "PARSE_DASHBOARD_SERVER_URL=$$UFFIZZI_URL/parse node Parse-Dashboard/index.js"
56-
#- PARSE_DASHBOARD_COOKIE_SESSION_SECRET=AB8849B6-D725-4A75-AA73-AB7103F0363F
59+
- "export PARSE_DASHBOARD_SERVER_URL=$$UFFIZZI_URL/parse && node Parse-Dashboard/index.js"
5760
deploy:
5861
resources:
5962
limits:
@@ -67,4 +70,3 @@ services:
6770

6871
volumes:
6972
postgres_data:
70-

0 commit comments

Comments
 (0)