Use bind mounts instead of build for immediate edits

This commit is contained in:
MayaChat
2025-11-23 23:01:02 -05:00
parent adeb4d472b
commit 4cc082be14

View File

@@ -1,10 +1,15 @@
version: '3.8'
services:
services-homepage:
build: .
image: nginx:alpine
container_name: services-homepage
ports:
- "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
logging:
driver: json-file