mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:26:17 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
9
redlib/.env
Normal file
9
redlib/.env
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Redlib
|
||||
REDLIB_PORT=
|
||||
28
redlib/docker-compose.yaml
Normal file
28
redlib/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
services:
|
||||
|
||||
redlib:
|
||||
image: ${REGISTRY}/redlib
|
||||
container_name: redlib
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${REDLIB_PORT:-8080}:8080
|
||||
user: nobody
|
||||
read_only: true
|
||||
cap_drop:
|
||||
- ALL
|
||||
environment:
|
||||
REDLIB_DEFAULT_SHOW_NSFW: on
|
||||
REDLIB_DEFAULT_SUBSCRIPTIONS:
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||
interval: 5m
|
||||
timeout: 3s
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
# - seccomp=./seccomp-redlib.json
|
||||
networks:
|
||||
- redlib
|
||||
|
||||
networks:
|
||||
redlib:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue