mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +01:00
Compare commits
No commits in common. "ea03df42dff157e1e6824e78729bdb051744e584" and "db6da43fc6747bdd890ceb23336b1b76ee5292a4" have entirely different histories.
ea03df42df
...
db6da43fc6
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.")
|
Loading…
Reference in New Issue
Block a user