260217:1607 20260217 fix permission
All checks were successful
Build and Deploy / deploy (push) Successful in 3m11s

This commit is contained in:
admin
2026-02-17 16:07:10 +07:00
parent 55e6a563aa
commit 01ce68acda
5 changed files with 213 additions and 21 deletions

View File

@@ -51,6 +51,11 @@ docker exec -it mariadb mysql -u root -p
CREATE USER 'gitea'@'%' IDENTIFIED BY 'Center#2025';
GRANT ALL PRIVILEGES ON gitea.* TO 'gitea'@'%';
FLUSH PRIVILEGES;
docker exec -it mariadb mysql -u root -p
CREATE USER 'exporter'@'%' IDENTIFIED BY 'Center#2025' WITH MAX_USER_CONNECTIONS 3;
GRANT PROCESS, REPLICATION CLIENT, SELECT ON *.* TO 'exporter'@'%';
FLUSH PRIVILEGES;
```
## Docker file