Skip to content

Commit 2a95eea

Browse files
committed
Fix names and depends
1 parent 72786be commit 2a95eea

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docker-compose.sample.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ services:
3636
container_name: swag
3737
links:
3838
- server
39-
- web
4039
cap_add:
4140
- NET_ADMIN
4241
environment:
@@ -68,7 +67,7 @@ services:
6867
- KC_DB_PASSWORD=CHANGEME
6968
- KEYCLOAK_ADMIN=admin
7069
- KEYCLOAK_ADMIN_PASSWORD=CHANGEME
71-
- KC_HOSTNAME=example.com
70+
- KC_HOSTNAME=idp.example.com
7271
- KC_PROXY_HEADERS=xforwarded
7372
command: start --optimized
7473
restart: unless-stopped

gen.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ def shuffled_alphabet():
9191
############
9292
# Postgres #
9393
############
94-
compose["services"]["database"]["environment"]["POSTGRES_ROOT_PASSWORD"] = secrets.token_urlsafe(14)
94+
compose["services"]["postgresql"]["environment"]["POSTGRES_ROOT_PASSWORD"] = secrets.token_urlsafe(14)
9595

9696
############
9797
# Keycloak #
9898
############
9999
compose["services"]["keycloak"]["environment"]["KC_DB_PASSWORD"] = keycloak_database_password
100-
compose["services"]["keyclaok"]["environment"]["KC_HOSTNAME"] = f"https://idp.{root_domain}"
101-
compose["services"]["keyclaok"]["environment"]["KEYCLOAK_ADMIN"] = getpass(f"Keycloak admin password {COLOR_GREEN}(input will not show){COLOR_END}: ")
100+
compose["services"]["keycloak"]["environment"]["KC_HOSTNAME"] = f"idp.{root_domain}"
101+
compose["services"]["keycloak"]["environment"]["KEYCLOAK_ADMIN"] = getpass(f"Keycloak admin password {COLOR_GREEN}(input will not show){COLOR_END}: ")
102102

103103
#########
104104
# Minio #

0 commit comments

Comments
 (0)