updated README.md

This commit is contained in:
Kevin Veen-Birkenbach 2022-04-11 08:12:12 +02:00
parent da6d302ba1
commit 7bd377af1f

View File

@ -1,12 +1,25 @@
# role docker-gitea # role docker-gitea
## set variables
```bash
COMPOSE_HTTP_TIMEOUT=600
DOCKER_CLIENT_TIMEOUT=600
GITEA_APPLICATION_DOCKER_CONTAINER=gitea_application_1
GITEA_DATABASE_DOCKER_CONTAINER=gitea_database_1
```
## recreate
```bash
cd /home/administrator/docker-compose/gitea/ && docker-compose -p gitea up -d --force-recreate
```
## database access ## database access
To access the database execute To access the database execute
```bash ```bash
docker exec -it gitea_database_1 /bin/mysql -u gitea -p docker exec -it $GITEA_DATABASE_DOCKER_CONTAINER /bin/mysql -u gitea -p
``` ```
## bash in application ## bash in application
docker exec -it gitea_application_1 /bin/sh docker exec -it $GITEA_APPLICATION_DOCKER_CONTAINER /bin/sh
## update app.ini ## update app.ini
```bash ```bash