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: weeman
GPG Key ID: 34F0524D4DA694A1
1 changed files with 3 additions and 1 deletions

View File

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