forked from Pukabyte/torrentio-scraper-sh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-arm.yml
78 lines (72 loc) · 1.56 KB
/
docker-compose-arm.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
version: '3.9'
services:
mysql:
restart: unless-stopped
image: arm64v8/mysql:8.0.36-oracle
container_name: torrentio-mysql
environment:
- PUID=1000
- PGID=1000
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
ports:
- "3306:3306"
volumes:
- mysql-data:/var/lib/mysql
networks:
- torrentio
scraper:
build: ./scraper
restart: unless-stopped
container_name: torrentio-scraper
depends_on:
- mysql
- postgres
ports:
- "7001:7001"
environment:
- PORT=7001
- MONGODB_URI=mysql://mysql:3306/torrentio
- DATABASE_URI=postgres://postgres@postgres:5432/torrentio
- ENABLE_SYNC=true
- PUID=1000
- PGID=1000
networks:
- torrentio
torrentio:
build: ./addon
restart: unless-stopped
container_name: torrentio
depends_on:
- mysql
- postgres
ports:
- "7000:7000"
environment:
- MONGODB_URI=mysql://mysql:3306/torrentio
- DATABASE_URI=postgres://postgres@postgres:5432/torrentio
- ENABLE_SYNC=true
- PUID=1000
- PGID=1000
networks:
- torrentio
postgres:
image: postgres:14-alpine
container_name: torrentio-pgdb
restart: unless-stopped
ports:
- 5432:5432
volumes:
- ./pg_data:/var/lib/postgresql/data
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_USER=postgres
- POSTGRES_DB=torrentio
- PUID=1000
- PGID=1000
networks:
- torrentio
networks:
torrentio:
external: true
volumes:
mysql-data: