Compare commits

..

No commits in common. "ea03df42dff157e1e6824e78729bdb051744e584" and "db6da43fc6747bdd890ceb23336b1b76ee5292a4" have entirely different histories.

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 restart
docker-compose -t 3600 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=UTF8 --locale=C
- POSTGRES_INITDB_ARGS='--encoding=UTF-8 --lc-collate=C --lc-ctype=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 restart')
print_bash('cd /home/administrator/docker-compose/' + filtered_failed_docker_compose_repository + '/ && docker-compose stop -t 7200 && docker-compose start')
print("finished restart procedure.")