-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
140 lines (131 loc) · 3.38 KB
/
docker-compose.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
version: "3.9"
networks:
lingarr:
external: true
services:
Lingarr.Server:
container_name: Lingarr.Server
image: ${DOCKER_REGISTRY-}lingarrserver
build:
context: .
dockerfile: Lingarr.Server/Dockerfile
args:
BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug}
environment:
- ASPNETCORE_ENVIRONMENT=Development
- DB_CONNECTION=mysql
- DB_HOST=Lingarr.Mysql
- DB_PORT=3306
- DB_DATABASE=LingarrMysql
- DB_USERNAME=LingarrMysql
- DB_PASSWORD=Secret1234
volumes:
- ../media/data/movies:/movies
- ../media/data/tv:/tv
- ../media/data/series/anime:/anime
ports:
- "9877:8080"
networks:
- lingarr
depends_on:
Lingarr.Mysql:
condition: service_healthy
Lingarr.Client:
image: ${DOCKER_REGISTRY-}lingarrclient
container_name: Lingarr.Client
build:
context: ./Lingarr.Client/
dockerfile: Dockerfile
ports:
- "9876:9876"
volumes:
- ./Lingarr.Client:/app:rw
- ./Lingarr.Client/node_modules:/app/node_modules
tty: true
command: /bin/sh -c "npm install && npm run dev"
networks:
- lingarr
LibreTranslate:
container_name: LibreTranslate
image: libretranslate/libretranslate:latest
restart: unless-stopped
environment:
- LT_LOAD_ONLY=en,tr,nl
- LT_DISABLE_WEB_UI=false # Optional, enable if you would like to make use of the LibreTranslate web interface
ports:
- 5000:5000
volumes:
- ../media/libretranslate:/home/libretranslate/.local/share/argos-translate
networks:
- lingarr
healthcheck:
test: ["CMD-SHELL", "./venv/bin/python scripts/healthcheck.py"]
Lingarr.Mysql:
image: mariadb:10.5
container_name: Lingarr.Mysql
tty: true
ports:
- "1433:3306"
environment:
MYSQL_DATABASE: LingarrMysql
MYSQL_USER: LingarrMysql
MYSQL_PASSWORD: Secret1234
MYSQL_ROOT_PASSWORD: Secret1234
SERVICE_TAGS: dev
SERVICE_NAME: mariadb
networks:
- lingarr
command: mysqld --sql_mode=""
healthcheck:
test: "mysql $$MYSQL_DATABASE -u$$MYSQL_USER -p$$MYSQL_PASSWORD -e 'SELECT 1;'"
interval: 10s
timeout: 5s
retries: 5
Lingarr.PHPMyAdmin:
image: phpmyadmin/phpmyadmin:5.0.1
container_name: Lingarr.PHPMyAdmin
environment:
PMA_HOST: Lingarr.Mysql
PMA_USER: LingarrMysql
PMA_PASSWORD: Secret1234
UPLOAD_LIMIT: 500M
ports:
- "9878:80"
networks:
- lingarr
radarr:
image: ghcr.io/hotio/radarr:nightly
container_name: radarr
environment:
- TZ=Europe/Amsterdam
volumes:
- ../media/data/movies:/movies
restart: unless-stopped
ports:
- 7878:7878
networks:
- lingarr
sonarr:
image: ghcr.io/hotio/sonarr:nightly
container_name: sonarr
environment:
- TZ=Europe/Amsterdam
volumes:
- ../media/data/tv:/tv
- ../media/data/series/anime:/anime
restart: unless-stopped
ports:
- 8989:8989
networks:
- lingarr
# localai:
# container_name: localai
# image: localai/localai:latest-aio-cpu
# ports:
# - 8080:8080
# environment:
# - 'PRELOAD_MODELS=[{"url": "github:go-skynet/model-gallery/mistral.yaml", "name": "mistral"}]'
# stdin_open: true
# tty: true
# networks:
# - lingarr