Update docker-compose and portainer-stack with absolute paths for production
This commit is contained in:
parent
fe00115a71
commit
435a7e99dc
|
|
@ -7,13 +7,13 @@ services:
|
|||
container_name: lemonlink-landing
|
||||
restart: unless-stopped
|
||||
|
||||
# Volume mounts for easy updates
|
||||
# Volume mounts for easy updates (use absolute paths for production)
|
||||
volumes:
|
||||
- ./index.html:/usr/share/nginx/html/index.html:ro
|
||||
- ./styles.css:/usr/share/nginx/html/styles.css:ro
|
||||
- ./script.js:/usr/share/nginx/html/script.js:ro
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./services:/usr/share/nginx/html/services:ro
|
||||
- /opt/lemonlink/index.html:/usr/share/nginx/html/index.html:ro
|
||||
- /opt/lemonlink/styles.css:/usr/share/nginx/html/styles.css:ro
|
||||
- /opt/lemonlink/script.js:/usr/share/nginx/html/script.js:ro
|
||||
- /opt/lemonlink/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- /opt/lemonlink/services:/usr/share/nginx/html/services:ro
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ services:
|
|||
container_name: lemonlink-landing
|
||||
restart: unless-stopped
|
||||
|
||||
# Mount website files from host
|
||||
# Mount website files from host (absolute paths for Portainer)
|
||||
volumes:
|
||||
- /opt/lemonlink/index.html:/usr/share/nginx/html/index.html:ro
|
||||
- /opt/lemonlink/styles.css:/usr/share/nginx/html/styles.css:ro
|
||||
|
|
|
|||
Loading…
Reference in New Issue