compose/tests/compose-e2e/volume-test/docker-compose.yml

18 lines
294 B
YAML

services:
nginx:
build: nginx-build
volumes:
- ./static:/usr/share/nginx/html
ports:
- 8090:80
nginx2:
build: nginx-build
volumes:
- staticVol:/usr/share/nginx/html:ro
- /usr/src/app/node_modules
ports:
- 9090:80
volumes:
staticVol: