-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
executable file
·29 lines (29 loc) · 1.02 KB
/
docker-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
version: "3"
services:
incomb:
image: mbharanya/incomb:latest
container_name: incomb
ports:
- 8888:8080/tcp
volumes:
- ./incomb_config.json:/usr/local/tomcat/webapps/ROOT/WEB-INF/conf/incomb_config.json
- ./indexes:/usr/local/tomcat/webapps/ROOT/WEB-INF/indexes
restart: unless-stopped
labels:
- traefik.http.routers.new_incomb_http.rule=Host(`new.incomb.com`)
- traefik.http.routers.new_incomb_http.middlewares=http-to-https
- traefik.http.routers.new_incomb_https.rule=Host(`new.incomb.com`)
- traefik.http.routers.new_incomb_https.tls=true
- traefik.http.routers.new_incomb_https.tls.certresolver=lets_encrypt
- traefik.http.services.new_incomb.loadbalancer.server.port=8080
incomb_mysql:
image: mysql:5.7
container_name: incomb_mysql
ports:
- 3307:3306/tcp
volumes:
- ./mysql/db:/var/lib/mysql
- ./mysql/conf:/etc/mysql/conf.d/
environment:
MYSQL_ROOT_PASSWORD: <insert mysql pw here>
restart: unless-stopped