Gitea Zugangsdaten als Variablen #1

Merged
bmen merged 2 commits from master into drone 2020-10-08 07:08:00 +00:00
1 changed files with 7 additions and 7 deletions
Showing only changes of commit 754aac296e - Show all commits

View File

@ -15,9 +15,9 @@ services:
- USER_GID=1000 - USER_GID=1000
- DB_TYPE=mysql - DB_TYPE=mysql
- DB_HOST=db:3306 - DB_HOST=db:3306
- DB_NAME=gitea - DB_NAME=§{MYSQL_DATABASE}
- DB_USER=gitea - DB_USER=§{MYSQL_USER}
- DB_PASSWD=gitea - DB_PASSWD=§{MYSQL_PASSWORD}
restart: always restart: always
networks: networks:
- webproxy - webproxy
@ -34,10 +34,10 @@ services:
image: mysql:5.7 image: mysql:5.7
restart: always restart: always
environment: environment:
- MYSQL_ROOT_PASSWORD=gitea - MYSQL_RANDOM_ROOT_PASSWORD='1'
- MYSQL_USER=gitea - MYSQL_USER=§{MYSQL_USER}
- MYSQL_PASSWORD=gitea - MYSQL_PASSWORD=§{MYSQL_PASSWORD}
- MYSQL_DATABASE=gitea - MYSQL_DATABASE=§{MYSQL_DATABASE}
networks: networks:
- backend-gitea - backend-gitea
container_name: bmen-gitea-db container_name: bmen-gitea-db