-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.yaml
51 lines (50 loc) · 1.37 KB
/
local.yaml
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
version: '3'
services:
schluessel:
image: ghcr.io/jsbaudler/schluessel:latest
container_name: schluessel_local
environment:
PASSWORD: "password"
SHARED_SECRET: "shared_secret"
HTTP_HOST: "0.0.0.0"
HTTP_PORT: "8080"
ports:
- "8080:8080"
schloss_one:
build:
context: .
dockerfile: Dockerfile
depends_on:
- schluessel
image: schloss_local
container_name: schloss_local_1
environment:
DOMAIN: ".schloss_one"
SERVICES: '[["Service1", "http://127.0.0.1:8081"],["Service2", "http://127.0.0.1:8081"]]'
TOKEN_NAME: "test_auth_token"
TOKEN_VALUE: "abcdefgh1234"
SHARED_SECRET: "shared_secret"
SCHLUESSEL_ENDPOINT: "http://schluessel:8080/register"
HTTP_HOST: "0.0.0.0"
HTTP_PORT: "8080"
ports:
- "8081:8080"
schloss_two:
build:
context: .
dockerfile: Dockerfile
depends_on:
- schluessel
image: schloss_local
container_name: schloss_local_2
environment:
DOMAIN: ".schloss_two"
SERVICES: '[["Service3", "http://127.0.0.1:8082"],["Service4", "http://127.0.0.1:8082"]]'
TOKEN_NAME: "test_auth_token"
TOKEN_VALUE: "abcdefgh1234"
SHARED_SECRET: "shared_secret"
SCHLUESSEL_ENDPOINT: "http://schluessel:8080/register"
HTTP_HOST: "0.0.0.0"
HTTP_PORT: "8080"
ports:
- "8082:8080"