Skip to content
Snippets Groups Projects
Commit d7d32253 authored by Jörn Künsemöller's avatar Jörn Künsemöller Committed by Jorrit Schaap
Browse files

TMSS-138: fixed docker compose setup for OIDC with static IP on bridge network

parent cd9c3967
No related branches found
No related tags found
1 merge request!97Resolve TMSS-138
version: '3' version: "2"
services: services:
tmss_test: tmss_test:
build: build:
...@@ -8,6 +8,11 @@ services: ...@@ -8,6 +8,11 @@ services:
ports: ports:
- "8008:8008" - "8008:8008"
- "3003:3003" - "3003:3003"
networks:
- "tmss"
environment:
- OIDC_ENDPOINT_HOST=172.25.0.10
- OIDC_RP_CLIENT_ID=2
tmss_test_nginx: tmss_test_nginx:
build: build:
context: . context: .
...@@ -15,6 +20,8 @@ services: ...@@ -15,6 +20,8 @@ services:
container_name: tmss_test_nginx container_name: tmss_test_nginx
ports: ports:
- "5005:5005" - "5005:5005"
networks:
- "tmss"
tmss_test_oidc: tmss_test_oidc:
build: build:
context: ../../test/oidc/docker-test-mozilla-django-oidc/ context: ../../test/oidc/docker-test-mozilla-django-oidc/
...@@ -22,4 +29,14 @@ services: ...@@ -22,4 +29,14 @@ services:
container_name: tmss_test_oidc container_name: tmss_test_oidc
ports: ports:
- "8088:8088" - "8088:8088"
networks:
tmss:
ipv4_address: 172.25.0.10
networks:
tmss:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.25.0.0/16
gateway: 172.25.0.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment