Use bind mounts instead of build for immediate edits
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
services-homepage:
|
services-homepage:
|
||||||
build: .
|
image: nginx:alpine
|
||||||
container_name: services-homepage
|
container_name: services-homepage
|
||||||
ports:
|
ports:
|
||||||
- "8088:80"
|
- "8088:80"
|
||||||
|
volumes:
|
||||||
|
- ./index.html:/usr/share/nginx/html/index.html:ro
|
||||||
|
- ./services.xml:/usr/share/nginx/html/services.xml:ro
|
||||||
|
- ./styles.css:/usr/share/nginx/html/styles.css:ro
|
||||||
|
- ./logos:/usr/share/nginx/html/logos:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
|
|||||||
Reference in New Issue
Block a user