-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
181 lines (97 loc) · 3.53 KB
/
compose.yaml
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
services:
##########################################
##
## network infrastructure
##
##########################################
software-shinobi-public-apis-proxy:
container_name: software-shinobi-public-apis-proxy
image: nginxproxy/nginx-proxy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /var/docker/nginx/html:/usr/share/nginx/html
- /var/docker/nginx/certs:/etc/nginx/certs
- /var/docker/nginx/vhost:/etc/nginx/vhost.d
logging:
options:
max-size: "10m"
max-file: "3"
software-shinobi-public-apis-letsencrypt:
container_name: software-shinobi-public-apis-letsencrypt
image: jrcs/letsencrypt-nginx-proxy-companion
restart: unless-stopped
volumes_from:
- software-shinobi-public-apis-proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/docker/nginx/acme:/etc/acme.sh
environment:
DEFAULT_EMAIL: workspace@valorantsoftware.digital
##########################################
##
## storage infrastructure
##
##########################################
software-shinobi-public-apis-database:
container_name: software-shinobi-public-apis-database
image: mariadb
volumes:
- .volumes/mariadb:/var/lib/mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: aggiepride
MYSQL_DATABASE: shinobipublicapis
MYSQL_USER: shinobipublicapis
MYSQL_PASSWORD: shinobipublicapis
software-shinobi-public-apis-phpmyadmin:
container_name: software-shinobi-public-apis-phpmyadmin
image: beeyev/phpmyadmin-lightweight
depends_on:
- software-shinobi-public-apis-database
links:
- software-shinobi-public-apis-database
ports:
- "36080:80"
environment:
PMA_HOST: software-shinobi-public-apis-database
VIRTUAL_HOST: database.softwareshinobi.digital
LETSENCRYPT_HOST: database.softwareshinobi.digital
##########################################
##
## API Server & Documentation
##
##########################################
software-shinobi-public-apis-server:
container_name: software-shinobi-public-apis-server
image: softwareshinobi/software-shinobi-public-apis-server
depends_on:
- software-shinobi-public-apis-database
build:
context: .
dockerfile: Dockerfile
restart: always
ports:
- "24888:8888"
environment:
DB_HOST: software-shinobi-public-apis-database
DB_NAME: shinobipublicapis
DB_USER: shinobipublicapis
DB_PASS: shinobipublicapis
VIRTUAL_HOST: apis.softwareshinobi.digital
LETSENCRYPT_HOST: apis.softwareshinobi.digital
software-shinobi-public-apis-docs:
container_name: software-shinobi-public-apis-docs
image: softwareshinobi/software-shinobi-public-apis-docs
build:
context: docs
dockerfile: Dockerfile
ports:
- "24080:80"
environment:
VIRTUAL_HOST: docs.apis.softwareshinobi.digital
LETSENCRYPT_HOST: docs.apis.softwareshinobi.digital