You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixpoint@takahashi-ke2-ub2404-basic1:~/ke2-docker/ke2/single/basic$ echo $HOSTNAME
takahashi-ke2-ub2404-basic1
fixpoint@takahashi-ke2-ub2404-basic1:~/ke2-docker/ke2/single/basic$ docker compose up -d
WARN[0000] The "HOSTNAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "HOSTNAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "HOSTNAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "HOSTNAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "HOSTNAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "HOSTNAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "HOSTNAME" variable is not set. Defaulting to a blank string.
[+] Running 11/11
✔ Network ke2_default Created 0.1s
✔ Volume "ke2_kompira_log" Created 0.0s
✔ Volume "ke2_kompira_pg16" Created 0.0s
✔ Volume "ke2_kompira_var" Created 0.0s
✔ Container ke2-redis-1 Started 0.5s
✔ Container ke2-postgres-1 Started 0.5s
✔ Container ke2-rabbitmq-1 Started 0.4s
✔ Container ke2-jobmngrd-1 Started 0.8s
✔ Container ke2-kengine-1 Started 0.8s
✔ Container ke2-kompira-1 Started 1.3s
✔ Container ke2-nginx-1 Started 2.0s
fixpoint@takahashi-ke2-ub2404-basic1:~/ke2-docker/ke2/single/basic$ docker exec -it $(docker ps -q -f name=kompira) hostname
ap-
The text was updated successfully, but these errors were encountered:
Ubuntu環境でデプロイすると環境変数 HOSTNAME が期待どおりに展開されないのか空白として扱われてしまい、各コンテナのホスト名も適切に設定されない。
The text was updated successfully, but these errors were encountered: