-
Notifications
You must be signed in to change notification settings - Fork 24
/
common.yml
56 lines (52 loc) · 1.82 KB
/
common.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '2'
services:
database:
image: slydetector/simply-nzedb-mariadb
restart: unless-stopped
volumes:
- $PWD/data/var_lib_mysql:/var/lib/mysql
- $PWD/data/etc_mysql_conf.d:/etc/mysql/conf.d
- $PWD/data/mysql_user:/mysql_user
environment:
- MYSQL_ROOT_PASSWORD=nzedb
- MYSQL_DATABASE=nzedb
- MYSQL_USER=nzedb
- MYSQL_PASSWORD=nzedb
expose:
- "3306"
nzedb:
image: slydetector/simply-nzedb
restart: unless-stopped
ports:
- 8800:8800
env_file:
- $PWD/etc/simply_nzedb.conf
volumes:
- $PWD/data/covers:/var/www/nZEDb/resources/covers/
- $PWD/data/nzb:/var/www/nZEDb/resources/nzb/
- $PWD/data/tmp:/var/www/nZEDb/resources/tmp/unrar/
# configuration/ is expected to contain
# - config.php
# - ircscraper_settings.php
# - settings.php
# - install.lock (only after setup has completed)
- $PWD/data/configuration:/var/www/nZEDb/configuration/
- $PWD/data/log/nginx-error.log:/var/log/nginx/nginx-error.log
- $PWD/data/log/nginx-access.log:/var/log/nginx/access.log
- $PWD/data/log/php-fpm.log:/var/log/php-fpm.log
- $PWD/data/log/php_errors.log:/var/www/nZEDb/resources/logs/php_errors.log
- $PWD/data/log/php_errors_web.log:/var/www/nZEDb/resources/logs/php_errors_web.log
- $PWD/data/nginx.conf:/etc/nginx/nginx.conf
- $PWD/data/mytop:/root/.mytop
- $PWD/data/predb_progress.txt:/var/www/nZEDb/cli/data/predb_progress.txt
- $PWD/data/import:/var/www/nZEDb/resources/import/
- $PWD/data/proxychains.conf:/etc/proxychains/proxychains.conf
- $PWD/data/db_backups:/db_backups
adminer:
image: clue/adminer
restart: unless-stopped
ports:
- 8880:80
redis:
image: redis:3.2.6-alpine
restart: unless-stopped