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:
parent
4fa35c1487
commit
4d7dfca26a
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user