-
Notifications
You must be signed in to change notification settings - Fork 55
/
docker-compose.yml
70 lines (66 loc) · 1.76 KB
/
docker-compose.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
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
version: '3'
services:
web:
build: .
platform: linux/amd64
container_name: gpw-web
ports:
- 9000:80
- 9002:9002 # vite
- 35729:35729 # livereload
depends_on:
- memcached
- mysql
volumes:
- .:/var/www:delegated
- .docker/web/nginx.conf:/etc/nginx/sites-enabled/gazelle.conf
- .docker/web/www.conf:/etc/php/7.4/fpm/pool.d/www.conf
environment:
# These should match what you set for your mysql container below
- MYSQL_USER=gazelle
- MYSQL_PASSWORD=password
memcached:
image: memcached:1.5-alpine
container_name: gpw-memcached
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
container_name: gpw-phpmyadmin
environment:
- PMA_HOST=mysql
- PMA_USER=gazelle
- PMA_PASSWORD=password
depends_on:
- mysql
ports:
- 9001:80
mysql:
image: mariadb:10.3
container_name: gpw-mysql
ports:
- 36000:3306
volumes:
- ./.docker/mysql/mysqld_sql_mode.cnf:/etc/mysql/conf.d/mysqld_sql_mode.cnf:delegated
- mysql-data:/var/lib/mysql
- ./gazelle.sql:/docker-entrypoint-initdb.d/gazelle.sql:ro
environment:
- MYSQL_DATABASE=gazelle
- MYSQL_USER=gazelle
- MYSQL_PASSWORD=password
- MYSQL_ROOT_PASSWORD=em%G9Lrey4^N
manticoresearch:
build: ./.docker/manticore
platform: linux/amd64
container_name: gpw-manticoresearch
depends_on:
- mysql
- web
volumes:
- manticore-data:/var/lib/manticore
- ./.docker/manticore/manticore.conf:/var/lib/manticore/conf/manticore.conf
environment:
# These should match what you set for your mysql container above
- MYSQL_USER=gazelle
- MYSQL_PASSWORD=password
volumes:
mysql-data:
manticore-data: