-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yaml
43 lines (39 loc) · 1.16 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.7'
services:
mysql:
image: mariadb:10.11
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: changemeRoot
restart: unless-stopped
hashtopolis:
image: kpeiruza/hashtopolis:latest
# image: htp:latest # use this if you built your own image using 'docker build <PATH_TO_DOCKERFILE> -t htp:latest'
depends_on:
- mysql
environment:
H8_USER: root # This is the username you'll be logging into Hashtopolis with
H8_PASS: changemeHTPuser # This is the password you'll be logging into Hashtopolis with
H8_EMAIL: root@localhost
MYSQL_HOST: mysql
MYSQL_PORT: 3306
MYSQL_ROOT_PASSWORD: changemeRoot # This should be the same password defined for the 'mysql' container
MYSQL_DB: hashtopolis
HTP_SERVER_NAME: htp.example.com
HTP_MEMORY_LIMIT: 512M
HTP_UPLOAD_MAX_SIZE: 500M
volumes:
- import:/var/www/html/import
- files:/var/www/html/files
- inc:/var/www/html/inc
- locks:/var/www/html/inc/utils/locks
ports:
- "8000:80"
restart: unless-stopped
volumes:
import: {}
files: {}
inc: {}
locks: {}
mysql: {}