-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-hhvm3.27.yml
More file actions
36 lines (35 loc) · 994 Bytes
/
docker-compose-hhvm3.27.yml
File metadata and controls
36 lines (35 loc) · 994 Bytes
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
version: '3'
services:
db:
image: mysql:5.7
container_name: mysqldb
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: db1
MYSQL_USER: user1
MYSQL_PASSWORD: root
volumes:
- ./mysql_volume:/var/lib/mysql
# - ./config_override/init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "13306:3306"
hhvm327_web:
build:
context: ./
dockerfile: ./dockerfiles/hhvm3.27/Dockerfile
image: hhvm327_web
container_name: hhvm327_web
depends_on:
- db
#command: >
# bash -c "echo 'You can runyour own command here'
# && echo 'multiple command too'"
volumes:
- ./web_volume:/app/
- ./config_override/php.ini:/usr/local/etc/php/php.ini
- ./config_override/sites-available/000-default.conf:/etc/apache2/sites-available/000-default.conf
- ./config_override/ioncube_loader/:/var/www/html/ioncube_loader/
ports:
- "11080:80"
stdin_open: true
tty: true