Compare commits

..

2 Commits

Author SHA1 Message Date
ea03df42df removed -t parameter 2023-12-13 00:52:58 +01:00
603282c49f Added correct database parameter 2023-12-13 00:46:50 +01:00
3 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ docker-compose exec -it front /bin/bash
To restart all services, use the following command:
```bash
docker-compose -t 3600 restart
docker-compose restart
```
### Resending Queued Mails

View File

@ -30,7 +30,7 @@ services:
- POSTGRES_DB=matrix
- POSTGRES_USER=matrix
- POSTGRES_PASSWORD={{matrix_database_password}}
- POSTGRES_INITDB_ARGS='--encoding=UTF-8 --lc-collate=C --lc-ctype=C'
- POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C
healthcheck:
test: ["CMD-SHELL", "pg_isready -U matrix"]
interval: 10s

View File

@ -50,6 +50,6 @@ for failed_container in failed_containers:
filtered_failed_docker_compose_repositories=list(dict.fromkeys(unfiltered_failed_docker_compose_repositories))
for filtered_failed_docker_compose_repository in filtered_failed_docker_compose_repositories:
print("restarting unhealthy container: " + filtered_failed_docker_compose_repository)
print_bash('cd /home/administrator/docker-compose/' + filtered_failed_docker_compose_repository + '/ && docker-compose stop -t 7200 && docker-compose start')
print_bash('cd /home/administrator/docker-compose/' + filtered_failed_docker_compose_repository + '/ && docker-compose restart')
print("finished restart procedure.")