1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Adding read-only to docker-compose.yml fixes #332

This commit is contained in:
Patrik J. Braun 2022-02-06 16:49:19 +01:00
parent 4fa35c1487
commit 4d7dfca26a
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ services:
volumes:
- "./pigallery2/config:/app/data/config" # CHANGE ME
- "db-data:/app/data/db"
- "./pigallery2/images:/app/data/images" # CHANGE ME
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
expose:
- "80"

View File

@ -8,7 +8,7 @@ services:
volumes:
- "./pigallery2/config:/app/data/config" # CHANGE ME
- "db-data:/app/data/db"
- "./pigallery2/images:/app/data/images" # CHANGE ME
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
ports:
- 80:80

View File

@ -33,7 +33,7 @@ services:
volumes:
- "./pigallery2/config:/app/data/config" # CHANGE ME
- "db-data:/app/data/db"
- "./pigallery2/images:/app/data/images" # CHANGE ME
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
expose:
- "80"