mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
updated README.md
This commit is contained in:
parent
da6d302ba1
commit
7bd377af1f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user