forked from cds-kla/cflix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
136 lines (124 loc) · 2.96 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
version: '3'
services:
reverse-proxy:
image: cflix/nginx
container_name: cflix_proxy
ports:
- "80:80"
- "443:443"
build:
context: ./Nginx
dockerfile: Dockerfile
restart: always
networks:
- cflix-main
- hackonymousoflix-main
# command: [nginx-debug, '-g', 'daemon off;']
cflix:
image: cflix/cflix
container_name: cflix_cflix
build:
context: ./CFlix
dockerfile: Dockerfile
restart: always
environment:
- CFLIX__STAGE=3
- CFLIX__USELDAP=false
# - ConnectionStrings__LdapUrl=LDAP://domain:389/OU=YOUR_ORGANIZATION,OU=UTILISATEURS,DC=domain,DC=com
depends_on:
- postgres
- mysql
networks:
- cflix-main
- cflix-imgviewer
- cflix-mysql
postgres:
image: cflix/postgres
container_name: cflix_db_postgres
build:
context: ./Postgres
dockerfile: Dockerfile
# user: cflix-db-admin
restart: always
volumes:
- pgdata:/var/lib/postgresql/data
environment:
# - POSTGRES_USER=cflix-db-admin
- POSTGRES_PASSWORD=postgres_password
- POSTGRES_DB=cflix
networks:
- cflix-main
mysql:
image: cflix/mysql
container_name: cflix_db_mysql
build:
context: ./MySQL
dockerfile: Dockerfile
restart: always
volumes:
- mysqldata:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=mysql_password
networks:
- cflix-mysql
command: [--character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
redis:
image: redis:alpine
container_name: cflix_redis
restart: always
networks:
- cflix-main
cflix.imageviewer:
image: cflix/cflix.imageviewer
container_name: cflix_imgviewer
restart: always
build:
context: ./CFlix.ImageViewer
dockerfile: Dockerfile
ports:
- "22222:22222"
networks:
- cflix-imgviewer
hackonymousoflix:
image: cflix/hackonymousoflix
container_name: hackonymousoflix_main
build:
context: ./Hackonymousoflix
dockerfile: Dockerfile
restart: always
ports:
# - 1337:1337
- "845:845"
networks:
- hackonymousoflix-main
robotshop:
image: cflix/robotshop
container_name: hackonymousoflix_robotshop
build:
context: ./Hackonymousoflix.RobotShop/robotshop
dockerfile: Dockerfile
restart: always
ports:
- 84:80
networks:
- hackonymousoflix-robotshop
shoxxbot:
image: cflix/shoxxbot
container_name: hackonymousoflix_shoxxbot
build:
context: ./Hackonymousoflix.RobotShop/shoxx-bot
dockerfile: Dockerfile
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
- hackonymousoflix-robotshop
volumes:
pgdata:
mysqldata:
networks:
cflix-main:
cflix-mysql:
cflix-imgviewer:
hackonymousoflix-main:
hackonymousoflix-robotshop: