33 lines
812 B
Markdown
Raw Normal View History

2023-08-22 23:56:56 +02:00
# role docker-gitea
2020-12-25 13:09:06 +01:00
2022-11-16 11:16:06 +01:00
## update
```bash
cd {{docker_compose.directories.instance}}
2023-04-19 00:03:13 +02:00
docker-compose down
docker-compose pull
docker-compose up -d
2022-11-16 11:16:06 +01:00
```
Keep in mind to track and to don't interrupt the update process until the migration is done.
2022-04-11 08:12:12 +02:00
## set variables
```bash
COMPOSE_HTTP_TIMEOUT=600
DOCKER_CLIENT_TIMEOUT=600
```
## recreate
```bash
cd {{docker_compose.directories.instance}} && docker-compose -p gitea up -d --force-recreate
2022-04-11 08:12:12 +02:00
```
2020-12-25 13:09:06 +01:00
## database access
To access the database execute
```bash
docker-compose exec -it database /bin/mysql -u gitea -p
2020-12-25 13:09:06 +01:00
```
## bash in application
2025-02-07 13:39:46 +01:00
docker-compose exec -it application /bin/sh
## More Information
- [Gitea LDAP integration](https://docs.gitea.com/usage/authentication)
- [Gitea Alternatives](https://chatgpt.com/share/67a5f599-c9b0-800f-87fe-49a3b61263e6)