Commit 446d2ef4 authored by jonas-kr's avatar jonas-kr
Browse files

Simplify / replace volume bind

parent 0cd423a2
......@@ -4,8 +4,6 @@ services:
rechteckhohlleiter:
build:
dockerfile: rechteckhohlleiter/Dockerfile
networks:
- net
deploy:
restart_policy:
condition: on-failure
......@@ -16,22 +14,13 @@ services:
apache:
depends_on:
- rechteckhohlleiter
image: httpd:2.4-alpine
build:
dockerfile: apache/Dockerfile
ports:
- "80:80"
networks:
- net
# note: the contents of the conf folder have been extracted from the httpd:alpine image and subsequently modified. Using an updated image might require reextraction.
volumes:
- type: bind
source: ./apache/conf
target: /usr/local/apache2/conf
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 10s
networks:
net:
\ No newline at end of file
window: 10s
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment