comment out - web-apps/docker-compose.yml

storage from /mnt --> /opt
This commit is contained in:
gregory hendrickson
2023-10-31 10:47:24 -07:00
parent 92693943ea
commit 47b19d5e33

View File

@@ -19,7 +19,7 @@ services:
- "443:443" # Expose HTTPS port - "443:443" # Expose HTTPS port
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro # Mount Docker socket for Traefik to access Docker API - /var/run/docker.sock:/var/run/docker.sock:ro # Mount Docker socket for Traefik to access Docker API
- /mnt/storage/hndrx.co/traefik/letsencrypt:/letsencrypt # Mount Let's Encrypt certificates storage - /opt/storagehndrx.co/traefik/letsencrypt:/letsencrypt # Mount Let's Encrypt certificates storage
labels: labels:
- "traefik.enable=true" # Enable Traefik for this service - "traefik.enable=true" # Enable Traefik for this service
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" # Redirect HTTP to HTTPS - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" # Redirect HTTP to HTTPS
@@ -43,7 +43,7 @@ services:
MYSQL_PASSWORD: ${NEXTCLOUD_DB_PASSWORD} # Set Nextcloud database password MYSQL_PASSWORD: ${NEXTCLOUD_DB_PASSWORD} # Set Nextcloud database password
hostname: mysql-nextcloud # Set hostname for MySQL container hostname: mysql-nextcloud # Set hostname for MySQL container
volumes: volumes:
- /mnt/storage/mysql-nextcloud:/var/lib/mysql # Mount MySQL data directory - /opt/storagemysql-nextcloud:/var/lib/mysql # Mount MySQL data directory
networks: networks:
- traefik # Use external network named "traefik" - traefik # Use external network named "traefik"
@@ -66,8 +66,8 @@ services:
NEXTCLOUD_ADMIN_PASSWORD: ${NEXTCLOUD_ADMIN_PASSWORD} # Set Nextcloud admin password NEXTCLOUD_ADMIN_PASSWORD: ${NEXTCLOUD_ADMIN_PASSWORD} # Set Nextcloud admin password
NEXTCLOUD_TRUSTED_DOMAINS: ${NEXTCLOUD_HOST} # Set trusted domains for Nextcloud NEXTCLOUD_TRUSTED_DOMAINS: ${NEXTCLOUD_HOST} # Set trusted domains for Nextcloud
volumes: volumes:
- /mnt/storage/nextcloud/data:/var/www/html # Mount Nextcloud data directory - /opt/storagenextcloud/data:/var/www/html # Mount Nextcloud data directory
- /mnt/storage/nextcloud/config:/var/www/html/config # Mount Nextcloud config directory - /opt/storagenextcloud/config:/var/www/html/config # Mount Nextcloud config directory
labels: labels:
- "traefik.enable=true" # Enable Traefik for this service - "traefik.enable=true" # Enable Traefik for this service
- "traefik.http.routers.nextcloud.rule=Host(`${NEXTCLOUD_HOST}`)" # Route Nextcloud to specified host - "traefik.http.routers.nextcloud.rule=Host(`${NEXTCLOUD_HOST}`)" # Route Nextcloud to specified host
@@ -91,8 +91,8 @@ services:
- "traefik.http.middlewares.nc-header.headers.customRequestHeaders.X-Forwarded-Proto=websecure" # Set custom request header for X-Forwarded-Proto - "traefik.http.middlewares.nc-header.headers.customRequestHeaders.X-Forwarded-Proto=websecure" # Set custom request header for X-Forwarded-Proto
- "traefik.http.middlewares.nc-header.headers.customResponseHeaders.X-Robots-Tag=noindex, nofollow" # Set custom response header for X-Robots-Tag - "traefik.http.middlewares.nc-header.headers.customResponseHeaders.X-Robots-Tag=noindex, nofollow" # Set custom response header for X-Robots-Tag
- "traefik.http.middlewares.nc-header.headers.customFrameOptionsValue=SAMEORIGIN" # Set custom frame options value - "traefik.http.middlewares.nc-header.headers.customFrameOptionsValue=SAMEORIGIN" # Set custom frame options value
- "traefik.http.routers.nextcloud.middlewares: 'nextcloud_redirectregex'" # - "traefik.http.routers.nextcloud.middlewares: 'nextcloud_redirectregex'"
- "traefik.http.middlewares.nextcloud_redirectregex.redirectregex.permanent: true" # - "traefik.http.middlewares.nextcloud_redirectregex.redirectregex.permanent: true"
networks: networks:
- traefik # Use external network named "traefik" - traefik # Use external network named "traefik"
@@ -107,7 +107,7 @@ services:
# MYSQL_USER: ${GHOST_DB_USER} # Set Ghost database user # MYSQL_USER: ${GHOST_DB_USER} # Set Ghost database user
# MYSQL_PASSWORD: ${GHOST_DB_PASSWORD} # Set Ghost database password # MYSQL_PASSWORD: ${GHOST_DB_PASSWORD} # Set Ghost database password
# volumes: # volumes:
# - /mnt/storage/mysql-ghost:/var/lib/mysql # Mount MySQL data directory # - /opt/storagemysql-ghost:/var/lib/mysql # Mount MySQL data directory
# hostname: mysql-ghost # Set hostname for MySQL container # hostname: mysql-ghost # Set hostname for MySQL container
# networks: # networks:
# - traefik # Use external network named "traefik" # - traefik # Use external network named "traefik"
@@ -124,7 +124,7 @@ services:
# database__connection__password: ${GHOST_DB_PASSWORD} # Set Ghost database password # database__connection__password: ${GHOST_DB_PASSWORD} # Set Ghost database password
# database__connection__database: ${GHOST_DB_NAME} # Set Ghost database name # database__connection__database: ${GHOST_DB_NAME} # Set Ghost database name
# volumes: # volumes:
# - /mnt/storage/ghost/content:/var/lib/ghost/content # Mount Ghost content directory # - opt/storageghost/content:/var/lib/ghost/content # Mount Ghost content directory
# labels: # labels:
# - "traefik.enable=true" # Enable Traefik for this service # - "traefik.enable=true" # Enable Traefik for this service
# - "traefik.http.routers.ghost.rule=Host(`${GHOST_DOMAIN}`)" # Route Ghost to specified host # - "traefik.http.routers.ghost.rule=Host(`${GHOST_DOMAIN}`)" # Route Ghost to specified host
@@ -164,7 +164,7 @@ networks:
# - "443:443" # - "443:443"
# volumes: # volumes:
# - /var/run/docker.sock:/var/run/docker.sock:ro # - /var/run/docker.sock:/var/run/docker.sock:ro
# - /mnt/storage/hndrx.co/traefik/letsencrypt:/letsencrypt # - opt/storagehndrx.co/traefik/letsencrypt:/letsencrypt
# labels: # labels:
# - "traefik.enable=true" # - "traefik.enable=true"
# - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" # - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
@@ -187,7 +187,7 @@ networks:
# MYSQL_PASSWORD: ${NEXTCLOUD_DB_PASSWORD} # MYSQL_PASSWORD: ${NEXTCLOUD_DB_PASSWORD}
# hostname: mysql-nextcloud # hostname: mysql-nextcloud
# volumes: # volumes:
# - /mnt/storage/mysql-nextcloud:/var/lib/mysql # - opt/storagemysql-nextcloud:/var/lib/mysql
# networks: # networks:
# - traefik # - traefik
@@ -205,8 +205,8 @@ networks:
# NEXTCLOUD_ADMIN_PASSWORD: ${NEXTCLOUD_ADMIN_PASSWORD} # NEXTCLOUD_ADMIN_PASSWORD: ${NEXTCLOUD_ADMIN_PASSWORD}
# NEXTCLOUD_TRUSTED_DOMAINS: ${NEXTCLOUD_HOST} # NEXTCLOUD_TRUSTED_DOMAINS: ${NEXTCLOUD_HOST}
# volumes: # volumes:
# - /mnt/storage/nextcloud/data:/var/www/html # - opt/storagenextcloud/data:/var/www/html
# - /mnt/storage/nextcloud/config:/var/www/html/config # - /opt/storagenextcloud/config:/var/www/html/config
# labels: # labels:
# - "traefik.enable=true" # - "traefik.enable=true"
# - "traefik.http.routers.nextcloud.rule=Host(`${NEXTCLOUD_HOST}`)" # - "traefik.http.routers.nextcloud.rule=Host(`${NEXTCLOUD_HOST}`)"
@@ -242,7 +242,7 @@ networks:
# MYSQL_USER: ${GHOST_DB_USER} # MYSQL_USER: ${GHOST_DB_USER}
# MYSQL_PASSWORD: ${GHOST_DB_PASSWORD} # MYSQL_PASSWORD: ${GHOST_DB_PASSWORD}
# volumes: # volumes:
# - /mnt/storage/mysql-ghost:/var/lib/mysql # - /opt/storagemysql-ghost:/var/lib/mysql
# hostname: mysql-ghost # hostname: mysql-ghost
# networks: # networks:
# - traefik # - traefik
@@ -258,7 +258,7 @@ networks:
# database__connection__password: ${GHOST_DB_PASSWORD} # database__connection__password: ${GHOST_DB_PASSWORD}
# database__connection__database: ${GHOST_DB_NAME} # database__connection__database: ${GHOST_DB_NAME}
# volumes: # volumes:
# - /mnt/storage/ghost/content:/var/lib/ghost/content # - /opt/storageghost/content:/var/lib/ghost/content
# labels: # labels:
# - "traefik.enable=true" # - "traefik.enable=true"
# - "traefik.http.routers.ghost.rule=Host(`${GHOST_DOMAIN}`)" # - "traefik.http.routers.ghost.rule=Host(`${GHOST_DOMAIN}`)"