forked from extern/podman-compose
0b853f29f4
The target path inside the container is treated as a key. Ref: https://github.com/compose-spec/compose-spec/blob/master/spec.md#merging-service-definitions Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
12 lines
318 B
YAML
12 lines
318 B
YAML
version: "3"
|
|
services:
|
|
web:
|
|
image: busybox
|
|
command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8080"]
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- ./index.txt:/var/www/html/index.html:ro,z
|
|
- ./index.txt:/var/www/html/index2.html
|
|
- ./index.txt:/var/www/html/index3.html:ro
|