Skip to content

Commit 420818f

Browse files
committed
feat: changed docker filed for build
1 parent 37adc0c commit 420818f

2 files changed

Lines changed: 16 additions & 27 deletions

File tree

docker-compose.yml

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,32 @@ version: '3.8'
33
services:
44
ssi-agent:
55
container_name: ssi-agent
6-
extra_hosts:
7-
- "host.docker.internal:host-gateway"
8-
env_file:
9-
- ./docker/.env.ssi-agent
10-
tty: true
116
build:
12-
context: ./
7+
context: .
138
dockerfile: ./docker/Dockerfile.ssi-agent
9+
volumes:
10+
- "$PWD/agent-env/.env.local:/opt/ssi-agent/packages/agent/.env.local:ro"
11+
environment:
12+
- PORT=5000
13+
- CONF_PATH=/opt/ssi-agent/packages/agent/conf/demos/sphereonGuest
1414
ports:
1515
- "5000:5000"
16+
restart: unless-stopped
17+
1618
oid4vci-demo-frontend:
1719
container_name: oid4vci-demo-frontend
18-
extra_hosts:
19-
- "host.docker.internal:host-gateway"
2020
env_file:
2121
- ./docker/.env.oid4vci-demo-frontend
2222
depends_on:
2323
- ssi-agent
2424
tty: true
2525
build:
26-
context: ./
26+
context: .
2727
dockerfile: ./docker/Dockerfile.oid4vci-demo-frontend
28+
environment:
29+
- PORT=5001
30+
- REACT_APP_DEFAULT_ECOSYSTEM=sphereon
31+
- REACT_APP_DEFAULT_ECOSYSTEM_FROM_SUBDOMAIN=false
2832
ports:
2933
- "5001:5001"
30-
oid4vp-demo-frontend:
31-
container_name: oid4vp-demo-frontend
32-
extra_hosts:
33-
- "host.docker.internal:host-gateway"
34-
env_file:
35-
- ./docker/.env.oid4vp-demo-frontend
36-
depends_on:
37-
- ssi-agent
38-
tty: true
39-
build:
40-
context: ./
41-
dockerfile: ./docker/Dockerfile.oid4vp-demo-frontend
42-
ports:
43-
- "5002:5002"
34+
restart: unless-stopped

docker/.env.oid4vci-demo-frontend

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
REACT_APP_OID4VP_AGENT_BASE_URL=http://192.168.2.90:5000
2-
REACT_APP_OID4VP_PRESENTATION_DEF_ID=sphereon
3-
REACT_APP_OID4VCI_AGENT_BASE_URL='http://192.168.2.90:5000/sphereon2023'
4-
REACT_APP_ENVIRONMENT=sphereon
51
PORT=5001
2+
REACT_APP_DEFAULT_ECOSYSTEM=sphereon
3+
REACT_APP_DEFAULT_ECOSYSTEM_FROM_SUBDOMAIN=false

0 commit comments

Comments
 (0)