test fixes for SELinux (Fedora)

This commit is contained in:
aanno
2021-11-24 16:37:17 +01:00
committed by Muayyad Alsadi
parent 80a47a13d5
commit 17f9ca61bd
11 changed files with 41 additions and 40 deletions

View File

@ -8,16 +8,16 @@ services:
command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
working_dir: /var/www/html
ports:
- 8001:8001
- 8001:8001
volumes:
- ./test1.txt:/var/www/html/index.txt:ro
- ./test1.txt:/var/www/html/index.txt:ro,z
web2:
image: busybox
hostname: web2
command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
working_dir: /var/www/html
ports:
- 8002:8001
- 8002:8001
volumes:
- ./test2.txt:/var/www/html/index.txt:ro
- ./test2.txt:/var/www/html/index.txt:ro,z