-
Notifications
You must be signed in to change notification settings - Fork 170
/
Copy pathdocker-compose.dev.yml
42 lines (42 loc) · 976 Bytes
/
docker-compose.dev.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
version: '3'
services:
mellivora:
image: mellivora
ports:
- 80:80
- 443:443
build:
context: .
dockerfile: Dockerfile
environment:
MELLIVORA_CONFIG_DB_ENGINE: mysql
MELLIVORA_CONFIG_DB_HOST: db
MELLIVORA_CONFIG_DB_PORT: 3306
MELLIVORA_CONFIG_DB_NAME: mellivora
MELLIVORA_CONFIG_DB_USER: meldbuser
MELLIVORA_CONFIG_DB_PASSWORD: password
volumes:
- .:/var/www/mellivora
- composerdependencies:/var/www/mellivora/include/thirdparty/composer
links:
- db
db:
image: mysql:8
ports:
- 13306:3306
environment:
MYSQL_DATABASE: mellivora
MYSQL_USER: meldbuser
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
volumes:
- dbdata:/var/lib/mysql
- ./install/sql:/docker-entrypoint-initdb.d
adminer:
image: adminer
restart: always
ports:
- 18080:8080
volumes:
composerdependencies:
dbdata: