forked from blabla1337/skf-flask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (68 loc) · 2.09 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
# Run docker-compose up
# Live long and prosper
version: '2'
services:
rabbitmq:
container_name: skf-rabbitmq_container
image: rabbitmq:3.8.19
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin-skf-secret
ports:
- "5672:5672"
- "15672:15672"
mysql:
container_name: skf-mysql_container
image: blabla1337/mysql
restart: always
environment:
MYSQL_DATABASE: 'skf'
MYSQL_ROOT_PASSWORD: 'admin-skf-secret'
MYSQL_DEFAULT_PASS: 'admin-skf-secret'
MYSQL_DEFAULT_USER: 'root'
ports:
- '3306:3306'
nginx:
container_name: skf-nginx_container
restart: always
image: nginx
volumes:
- ./Docker/compose/site.conf:/etc/nginx/nginx.conf
ports:
- "80:80"
skf-angular:
container_name: skf-angular_container
depends_on:
- "rabbitmq"
- "nginx"
- "mysql"
restart: always
image: "blabla1337/skf-angular:4.0.2"
environment:
- FRONTEND_URI=http://localhost
- SKIP_LOGIN=skiploginprovider
skf-api:
container_name: skf-api_container
depends_on:
- "rabbitmq"
- "nginx"
- "mysql"
restart: always
volumes:
- ~/.kube/config:/home/user_api/.kube/config
image: "blabla1337/skf-api:4.0.4"
environment:
- SKF_FLASK_DEBUG=False
- SKF_API_URL=http://localhost/api
- SKF_TESTING=False
- SKF_DB_URL=mysql+pymysql://root:admin-skf-secret@mysql/skf?charset=utf8mb4
- SKF_JWT_SECRET=please_change_this_value_to_be_random
- SKF_LABS_DOMAIN=http://localhost
- SKF_LABS_DEPLOY_MODE=port
- RABBIT_MQ_CONN_STRING=rabbitmq
- LABS_KUBE_CONF=YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljY_update_me...
#- LABS_KUBE_CONF=base64_string_here_of_the_content_of_the .kube/config file_for_example: cat ~/.kube/config | base64
#- GOOGLE_CREDENTIALS=base64_string_here_of_the_content_of_the gsa-key.json file_for_example: cat gsa-key.json | base64
#- SKF_LABS_DEPLOY_MODE=subdomain
#- JWT_ENABLED="False"
#- SKF_DOJO_API_KEY=