docker/compose/dev/docker-compose.yml
2017-01-30 11:35:09 +01:00

80 lines
1.5 KiB
YAML
Executable File

version: '2'
services:
gogs:
container_name: gogs
image: gogs/gogs:0.9.97
ports:
- "10022:22"
- "10080:3000"
volumes:
- /media/disk02/gogs/data:/data
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "9"
bigdata:
container_name: bigdata
image: scores/mariadb101:201602
ports:
- "3306:3306"
mem_limit: 16g
volumes:
- /media/bigdata-vol1:/var/lib/mysql
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "9"
environment:
MARIADB_PASS: scores
sphinx:
container_name: sphinx
image: scores/sphinxsearch:20160302
ports:
- "9306:9306"
- "9312:9312"
mem_limit: 16g
volumes:
- /media/disk02/sphinxsearch/data:/var/lib/sphinxsearch
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "9"
environment:
MYSQL_HOST: 192.168.78.249
MYSQL_USER: sphinx
MYSQL_PASS: indexer
SLAVE: 1
INDEX_ACT: 1
INDEX_CIBLAGE: 1
INDEX_DIR: 1
INDEX_ENT: 1
INDEX_DIR: 1
INDEX_HISTO: 1
app-db:
container_name: app-db
image: scores/mariadb101:201602
ports:
- "3307:3306"
mem_limit: 1g
volumes:
- /media/disk02/appsdb:/var/lib/mysql
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "9"
environment:
MARIADB_PASS: scores
app-imapproxy:
container_name: app-imapproxy
image: scores/imapproxy:201601
ports:
- "1143:143"
environment:
SERVER_HOSTNAME: "imap.online.net"
ENABLE_SELECT_CACHE: "yes"
FORCE_TLS: "no"