clean config, support read-only non-root docker
All checks were successful
docker / docker (push) Successful in 22s
All checks were successful
docker / docker (push) Successful in 22s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
18
compose.example.yml
Normal file
18
compose.example.yml
Normal file
@ -0,0 +1,18 @@
|
||||
services:
|
||||
fourget:
|
||||
container_name: 4get
|
||||
image: git.ngn.tf/ngn/4get
|
||||
ports:
|
||||
- 80:8080
|
||||
volumes:
|
||||
- ./config.php:/srv/4get/data/config.php:ro
|
||||
- ./banners:/srv/4get/banner:ro
|
||||
- ./captcha:/srv/4get/data/captcha:ro
|
||||
- type: tmpfs
|
||||
target: /tmp/icons
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
read_only: true
|
||||
restart: unless-stopped
|
Reference in New Issue
Block a user