mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
web:
|
|
build: .
|
|
ports:
|
|
- 8080:80
|
|
- 36000:3306
|
|
- 34000:34000
|
|
depends_on:
|
|
- memcached
|
|
- mysql
|
|
volumes:
|
|
- .:/var/www
|
|
- .docker/web/nginx.conf:/etc/nginx/sites-available/gazelle.conf
|
|
environment:
|
|
- ENV
|
|
# These should match what you set for your mysql container below
|
|
- MYSQL_USER=gazelle
|
|
- MYSQL_PASSWORD=password
|
|
|
|
memcached:
|
|
image: memcached:1.5-alpine
|
|
|
|
mysql:
|
|
image: mariadb:10.3
|
|
volumes:
|
|
- ./.docker/mysql/mysqld_sql_mode.cnf:/etc/mysql/conf.d/mysqld_sql_mode.cnf
|
|
- ./.docker/data/mysql:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_DATABASE=gazelle
|
|
- MYSQL_USER=gazelle
|
|
- MYSQL_PASSWORD=password
|
|
- MYSQL_ROOT_PASSWORD=em%G9Lrey4^N
|
|
|
|
sphinxsearch:
|
|
build: ./.docker/sphinxsearch
|
|
depends_on:
|
|
- mysql
|
|
- web
|
|
volumes:
|
|
- ./.docker/data/sphinxsearch:/var/lib/sphinxsearch/data/
|
|
- ./.docker/sphinxsearch/sphinx.conf:/var/lib/sphinxsearch/conf/sphinx.conf
|
|
environment:
|
|
# These should match what you set for your mysql container above
|
|
- MYSQL_USER=gazelle
|
|
- MYSQL_PASSWORD=password
|