-
Notifications
You must be signed in to change notification settings - Fork 29
/
docker-compose.yml
81 lines (76 loc) · 2.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3"
services:
trust-anchor.org:
image: ghcr.io/italia/spid-cie-oidc-django:latest
# build:
# context: .
# dockerfile: ./Dockerfile
ports:
- "8000:8000"
volumes:
- ./examples-docker/federation_authority:/django-project
networks:
- oidcfed
command: |
bash -c "cd /django-project/ &&
python3 manage.py migrate &&
python3 manage.py loaddata dumps/example.json &&
python3 manage.py runserver 0.0.0.0:8000"
cie-provider.org:
image: ghcr.io/italia/spid-cie-oidc-django:latest
# build:
# context: .
# dockerfile: ./Dockerfile
expose:
- 8002
ports:
- "8002:8002"
volumes:
- ./examples-docker/provider:/django-project
networks:
- oidcfed
depends_on:
- trust-anchor.org
command: |
bash -c "cd /django-project/ &&
python3 manage.py migrate &&
python3 manage.py loaddata dumps/example.json &&
python3 manage.py runserver 0.0.0.0:8002"
relying-party.org:
image: ghcr.io/italia/spid-cie-oidc-django:latest
# build:
# context: .
# dockerfile: ./Dockerfile
expose:
- 8001
ports:
- "8001:8001"
volumes:
- ./examples-docker/relying_party:/django-project
networks:
- oidcfed
depends_on:
- trust-anchor.org
command: |
bash -c "cd /django-project/ &&
python3 manage.py migrate &&
python3 manage.py loaddata dumps/example.json &&
python3 manage.py runserver 0.0.0.0:8001"
wallet.trust-anchor.org:
image: ghcr.io/italia/spid-cie-oidc-django:latest
# build:
# context: .
# dockerfile: ./Dockerfile
ports:
- "8005:8005"
volumes:
- ./examples-docker/wallet_trust_anchor:/django-project
networks:
- oidcfed
command: |
bash -c "cd /django-project/ &&
python3 manage.py migrate &&
python3 manage.py loaddata dumps/ta-ec.json &&
python3 manage.py runserver 0.0.0.0:8005"
networks:
oidcfed: