You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pigallery2:
image: bpatrik/pigallery2:latest
container_name: pigallery2
environment:
- NODE_ENV=production # set to 'debug' for full debug logging
# - NODE_OPTIONS=--enable-source-maps # enable source map support on the backend for development
volumes:
- /opt/pigallery2/config:/app/data/config # CHANGE ME
- "db-data:/app/data/db"
- /opt/pigallery2/images:/app/data/images:ro # CHANGE ME, ':ro' means read-only
- /opt/pigallery2/tmp:/app/data/tmp # CHANGE ME
expose:
- "80"
restart: always
volumes:
db-data:
dir default is /opt/pigallery2/images:/app/data/images
I want to replace /opt/pigallery2 /images with /mnt/sda1/images
every time I change it, the photo is in the /mnt/sda1/images directory.
images are not detected, did I set it wrong?
sorry, this post was made by translation
I hope you understand
thanks verry much
The text was updated successfully, but these errors were encountered:
I have docker compose as below
version: '3'
services:
nginx:
image: nginx:latest
container_name: nginx
volumes:
- /opt/nginx/conf:/etc/nginx/conf
- /opt/nginx/logs:/etc/nginx/log
- /opt/nginx/cache/:/etc/nginx/cache
- /opt/nginx/letsencrypt/:/etc/letsencrypt/
ports:
- 890:890
- 4243:4243
restart: always
pigallery2:
image: bpatrik/pigallery2:latest
container_name: pigallery2
environment:
- NODE_ENV=production # set to 'debug' for full debug logging
# - NODE_OPTIONS=--enable-source-maps # enable source map support on the backend for development
volumes:
- /opt/pigallery2/config:/app/data/config # CHANGE ME
- "db-data:/app/data/db"
- /opt/pigallery2/images:/app/data/images:ro # CHANGE ME, ':ro' means read-only
- /opt/pigallery2/tmp:/app/data/tmp # CHANGE ME
expose:
- "80"
restart: always
volumes:
db-data:
dir default is /opt/pigallery2/images:/app/data/images
I want to replace /opt/pigallery2 /images with /mnt/sda1/images
every time I change it, the photo is in the /mnt/sda1/images directory.
images are not detected, did I set it wrong?
sorry, this post was made by translation
I hope you understand
thanks verry much
The text was updated successfully, but these errors were encountered: