set ki_db hostname alias

This commit is contained in:
weeman 2021-09-15 19:49:23 +02:00
parent 6ae6367d39
commit 24a81fcd2a
Signed by untrusted user: weeman
GPG Key ID: 34F0524D4DA694A1

View File

@ -42,7 +42,9 @@ services:
image: "{{ ki_db_image }}" image: "{{ ki_db_image }}"
restart: unless-stopped restart: unless-stopped
networks: networks:
- ki ki:
aliases:
- ki_db
environment: environment:
MYSQL_ROOT_PASSWORD: "{{ ki_db_root_password }}" MYSQL_ROOT_PASSWORD: "{{ ki_db_root_password }}"
MYSQL_DATABASE: ki MYSQL_DATABASE: ki