-
-
Save pascalandy/215d4e99895c71cb541ca7ab7c7ef63c to your computer and use it in GitHub Desktop.
ngx-html question https://forums.docker.com/t/what-is-the-right-nomenclature-for-volume-from-in-compose-v2/9759
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
ngx-html: | |
# Serve the static page | |
# ToDo ENV var for $NGINX_HOST in conf.d | |
container_name: html.g99999101_136 | |
image: nginx:1.8.1 | |
volumes_from: data-html | |
- "/data/extracted-html:/usr/share/nginx/html:ro" | |
volumes: | |
- "../ngx-static/configs/ngx-html.conf/:/etc/nginx/conf.d/default.conf" | |
restart: always | |
networks: | |
- spring |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment