Gitea Zugangsdaten als Variablen #1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue