2021-03-02 01:21:27 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
database:
|
|
|
|
container_name: database
|
2022-09-02 07:22:04 +02:00
|
|
|
image: postgres:14
|
2021-03-02 01:21:27 +01:00
|
|
|
env_file:
|
|
|
|
- database.env
|
|
|
|
volumes:
|
|
|
|
- database-data:/var/lib/postgresql/data
|
|
|
|
ports:
|
2021-04-18 04:49:05 +02:00
|
|
|
- 5432:5432
|
2021-09-26 21:02:37 +02:00
|
|
|
restart: always
|
2021-03-02 01:21:27 +01:00
|
|
|
redis:
|
|
|
|
container_name: redis
|
2022-09-02 07:22:04 +02:00
|
|
|
image: redis:7.0
|
2021-03-02 01:21:27 +01:00
|
|
|
command: /usr/local/etc/redis/redis.conf
|
|
|
|
volumes:
|
|
|
|
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
|
|
|
|
ports:
|
2021-04-18 04:49:05 +02:00
|
|
|
- 32773:6379
|
2023-02-03 18:31:30 +01:00
|
|
|
sysctls:
|
|
|
|
- net.core.somaxconn=324000
|
|
|
|
- net.ipv4.tcp_max_syn_backlog=3240000
|
2021-09-26 21:02:37 +02:00
|
|
|
restart: always
|
2021-06-03 04:34:38 +02:00
|
|
|
newleaf:
|
|
|
|
image: abeltramo/newleaf:latest
|
|
|
|
container_name: newleaf
|
2021-09-26 21:02:37 +02:00
|
|
|
restart: always
|
2021-06-03 04:34:38 +02:00
|
|
|
ports:
|
|
|
|
- 3241:3000
|
|
|
|
volumes:
|
|
|
|
- ./newleaf/configuration.py:/workdir/configuration.py
|
2021-10-27 03:55:32 +02:00
|
|
|
rsync:
|
|
|
|
image: mchangrh/rsync:latest
|
|
|
|
container_name: rsync
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 873:873
|
|
|
|
volumes:
|
2021-10-27 04:38:46 +02:00
|
|
|
- ./rsync/rsyncd.conf:/etc/rsyncd.conf
|
2021-10-27 03:55:32 +02:00
|
|
|
- ./database-export/:/mirror
|
2021-03-02 01:21:27 +01:00
|
|
|
|
|
|
|
volumes:
|
2021-04-18 04:49:05 +02:00
|
|
|
database-data:
|