replace httpd with registry.mgrote.net/httpd:master (#730)
Reviewed-on: #730 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
cd603b54f3
commit
65fb6fcc37
2 changed files with 12 additions and 2 deletions
|
@ -2,7 +2,7 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
httpd-registry:
|
httpd-registry:
|
||||||
container_name: "httpd-registry"
|
container_name: "httpd-registry"
|
||||||
image: "httpd:2.4.58@sha256:ad01c94aa4ee2a03eba75c84c1e485f62d29d119792c4ed59e66c5b63ae5c91f"
|
image: "registry.mgrote.net/httpd:master"
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- uploads:/usr/local/apache2/htdocs/
|
- uploads:/usr/local/apache2/htdocs/
|
||||||
|
@ -11,6 +11,11 @@ services:
|
||||||
- 3344:80
|
- 3344:80
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: true
|
com.centurylinklabs.watchtower.enable: true
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
python-api-server:
|
python-api-server:
|
||||||
container_name: httpd-api
|
container_name: httpd-api
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
wiki-webserver:
|
wiki-webserver:
|
||||||
container_name: wiki-webserver
|
container_name: wiki-webserver
|
||||||
image: "httpd:2.4.58@sha256:ad01c94aa4ee2a03eba75c84c1e485f62d29d119792c4ed59e66c5b63ae5c91f"
|
image: "registry.mgrote.net/httpd:master"
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
@ -13,6 +13,11 @@ services:
|
||||||
# /docker/wiki/site ist ein lokales Verzeichnis auf docker10
|
# /docker/wiki/site ist ein lokales Verzeichnis auf docker10
|
||||||
# dieser Verzeichnis wird direkt in der wiki ci gemountet
|
# dieser Verzeichnis wird direkt in der wiki ci gemountet
|
||||||
# und die daten werden dort reingeschrieben
|
# und die daten werden dort reingeschrieben
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.wiki.rule: Host(`wiki.mgrote.net`)
|
traefik.http.routers.wiki.rule: Host(`wiki.mgrote.net`)
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
|
|
Loading…
Reference in a new issue