-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
47 lines (42 loc) · 1.29 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
version: "3.9"
services:
as:
build:
context: ./
dockerfile: Dockerfile
env_file:
- ./docker-compose.env
ports:
- "8000:8000"
extra_hosts:
- "${DOCKER_COMPOSE_DEFAULT_NETWORK_GATEWAY_FQDN}:${DOCKER_COMPOSE_DEFAULT_NETWORK_GATEWAY}"
volumes:
- "./example/:/run/spid-django/example/"
- "./src/:/run/spid-django/src/"
spid-testenv2:
image: italia/spid-testenv2:1.1.0
ports:
- "8088:8088"
extra_hosts:
- "${DOCKER_COMPOSE_DEFAULT_NETWORK_GATEWAY_FQDN}:${DOCKER_COMPOSE_DEFAULT_NETWORK_GATEWAY}"
volumes:
- "./example/configs/spid-testenv2/config.yaml:/app/conf/config.yaml:ro"
- "./example/configs/spid-testenv2/users.json:/app/conf/users.json:ro"
spid-saml-check:
build:
context: ./spid-saml-check/
dockerfile: Dockerfile
ports:
- "8080:8080"
extra_hosts:
- "${DOCKER_COMPOSE_DEFAULT_NETWORK_GATEWAY_FQDN}:${DOCKER_COMPOSE_DEFAULT_NETWORK_GATEWAY}"
volumes:
- "./example/configs/spid-saml-check/idp.json:/spid-saml-check/spid-validator/config/idp.json:ro"
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: ${DOCKER_COMPOSE_DEFAULT_NETWORK_SUBNET}
gateway: ${DOCKER_COMPOSE_DEFAULT_NETWORK_GATEWAY}