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
nitter/.env
Normal file
9
nitter/.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=
|
||||
|
||||
# Nitter
|
||||
NITTER_PORT=
|
||||
52
nitter/docker-compose.yaml
Normal file
52
nitter/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
services:
|
||||
|
||||
# https://github.com/PrivacyDevel/nitter/blob/master/docker-compose.yml
|
||||
# https://github.com/zedeus/nitter/issues/1155#issuecomment-1917167072
|
||||
nitter:
|
||||
image: ${REGISTRY}/nitter
|
||||
container_name: nitter
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${NITTER_PORT:-8080}:8080
|
||||
healthcheck:
|
||||
test: wget -nv --tries=1 --spider http://127.0.0.1:8080/Jack/status/20 || exit 1
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
volumes:
|
||||
- ./nitter.conf:/src/nitter.conf:Z,ro
|
||||
- ./guest_accounts.json:/src/guest_accounts.json
|
||||
depends_on:
|
||||
- nitter-redis
|
||||
user: 1000:984
|
||||
read_only: true
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
networks:
|
||||
- nitter
|
||||
nitter-redis:
|
||||
image: ${REGISTRY}/valkey
|
||||
container_name: nitter-redis
|
||||
command: redis-server --save 60 1 --loglevel warning
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: redis-cli ping
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
user: 1000:984
|
||||
read_only: true
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
networks:
|
||||
- nitter
|
||||
|
||||
networks:
|
||||
nitter:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue