Skip to content

Commit 41dc7b3

Browse files
committed
docker-compose: Add redmine healthcheck fixes: #564
1 parent 072aedf commit 41dc7b3

File tree

7 files changed

+42
-0
lines changed

7 files changed

+42
-0
lines changed

docker-compose-aws.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ services:
4242
- IMAP_SSL=true
4343
- IMAP_INTERVAL=30
4444

45+
healthcheck:
46+
test: curl -f http://localhost/up || exit 1
47+
interval: 10s
48+
timeout: 10s
49+
retries: 3
50+
4551
ports:
4652
- "10083:80"
4753
volumes:

docker-compose-mariadb.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ services:
6666
- IMAP_SSL=true
6767
- IMAP_INTERVAL=30
6868

69+
healthcheck:
70+
test: curl -f http://localhost/up || exit 1
71+
interval: 10s
72+
timeout: 10s
73+
retries: 3
74+
6975
ports:
7076
- "10083:80"
7177
volumes:

docker-compose-memcached.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ services:
6565

6666
- MEMCACHE_HOST=memcached
6767

68+
healthcheck:
69+
test: curl -f http://localhost/up || exit 1
70+
interval: 10s
71+
timeout: 10s
72+
retries: 3
73+
6874
ports:
6975
- "10083:80"
7076
volumes:

docker-compose-mysql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ services:
6161
- IMAP_SSL=true
6262
- IMAP_INTERVAL=30
6363

64+
healthcheck:
65+
test: curl -f http://localhost/up || exit 1
66+
interval: 10s
67+
timeout: 10s
68+
retries: 3
69+
6470
ports:
6571
- "10083:80"
6672
volumes:

docker-compose-sqlite3.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ services:
4040
- IMAP_SSL=true
4141
- IMAP_INTERVAL=30
4242

43+
healthcheck:
44+
test: curl -f http://localhost/up || exit 1
45+
interval: 10s
46+
timeout: 10s
47+
retries: 3
48+
4349
ports:
4450
- "10083:80"
4551
volumes:

docker-compose-ssl.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ services:
6060
- IMAP_SSL=true
6161
- IMAP_INTERVAL=30
6262

63+
healthcheck:
64+
test: curl -f http://localhost/up || exit 1
65+
interval: 10s
66+
timeout: 10s
67+
retries: 3
68+
6369
ports:
6470
- "10083:80"
6571
- "10445:443"

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ services:
6262
- IMAP_SSL=true
6363
- IMAP_INTERVAL=30
6464

65+
healthcheck:
66+
test: curl -f http://localhost/up || exit 1
67+
interval: 10s
68+
timeout: 10s
69+
retries: 3
70+
6571
ports:
6672
- "10083:80"
6773
volumes:

0 commit comments

Comments
 (0)