-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
73 lines (69 loc) · 2.18 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
version: '3'
services:
apache2:
image: git.harknet.ml:5005/becrespi/hypertube/apache2:tag
container_name: "apache2-hypertube"
build:
context: ./webServer
args:
- FRONT_DOMAIN_NAME=${FRONT_DOMAIN_NAME}
tty: true
ports:
- "4001:80"
volumes:
- "./public/movies/:/var/www/html/movies"
- "./public/pictures/:/var/www/html/pictures"
environment:
- API_DOMAIN_NAME=http://localhost:4001
- FRONT_DOMAIN_NAME=${FRONT_DOMAIN_NAME}
mongodb:
image: mongo:latest
container_name: "mongodb-hypertube"
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
volumes:
- ./mongodbData:/data/db:Z
ports:
- 27017:27017
command: mongod --smallfiles --logpath=/dev/null
torrent-api:
image: git.harknet.ml:5005/becrespi/hypertube/torrent-api:tag
container_name: "torrent-api-hypertube"
build:
context: ./torrentApiNode
tty: false
ports:
- "4002:4002"
volumes:
- "./public/movies:/torrent/public/movies"
environment:
- MONGO_DB_NAME=hypertube
- MONGO_DB_HOST=mongodb-hypertube
- jwtSecret=xxxx
main-api:
image: git.harknet.ml:5005/becrespi/hypertube/main-api:tag
container_name: "main-api-hypertube"
build:
context: ./apiGo
tty: false
ports:
- "4003:4003"
volumes:
- "./public/pictures/:/app/storage/pictures/"
environment:
- MONGO_DB_NAME=hypertube
- MONGO_DB_HOST=mongodb-hypertube
- API_DOMAIN_NAME=http://localhost:4003
- FRONT_DOMAIN_NAME=${FRONT_DOMAIN_NAME}
- jwtSecret=xxxx
- GPLUS_SECRET=xxxx
- GPLUS_KEY=xxxx
- API42_KEY=xxxx
- API42_SECRET=xxxx
- MJ_APIKEY_PUBLIC=xxxx
- MJ_APIKEY_PRIVATE=xxxx
- SESSION_SECRET=xxxx
- TMDB_APIKEY=xxxx
- FACEBOOK_KEY=xxxx
- FACEBOOK_SECRET=xxxx