Files
docker-lemonade/docker-compose.yml
2022-09-16 14:49:47 -03:00

175 lines
4.2 KiB
YAML

version: '3.2'
services:
mysql:
image: mysql:5.7
command: mysqld --character-set-server=utf8
--collation-server=utf8_unicode_ci --init-connect='SET NAMES UTF8;'
--innodb-flush-log-at-trx-commit=0 --bind-address=0.0.0.0
environment:
- MYSQL_ROOT_PASSWORD=lemon
volumes:
- type: bind
source: ./extras/initdb.d
target: /docker-entrypoint-initdb.d
- type: bind
source: /srv/lemonade/mysql-dev
target: /var/lib/mysql
networks:
default:
aliases: [lemonade_db, db]
restart: on-failure
ports:
- 33062:3306
redis:
image: redis:4
networks:
- default
restart: on-failure
thorn:
build: ./thorn
image: eubrabigsea/thorn
volumes:
- type: bind
source: ./config/thorn-config.yaml
target: /usr/local/thorn/conf/thorn-config.yaml
networks:
- default
restart: always
thorn_worker:
build: ./thorn
image: eubrabigsea/thorn
entrypoint:
- "/usr/bin/dumb-init"
- "--"
- "/usr/local/bin/entrypoint"
- "worker"
volumes:
- type: bind
source: ./config/thorn-config.yaml
target: /usr/local/thorn/conf/thorn-config.yaml
networks:
- default
restart: always
limonero:
build: ./limonero
image: eubrabigsea/limonero
volumes:
- type: bind
source: ./config/limonero-config.yaml
target: /usr/local/limonero/conf/limonero-config.yaml
- type: bind
source: /srv/lemonade/storage
target: /srv/storage
networks:
- default
restart: always
stand:
build: ./stand
image: eubrabigsea/stand
volumes:
- type: bind
source: ./config/stand-config.yaml
target: /usr/local/stand/conf/stand-config.yaml
networks:
- default
restart: always
caipirinha:
build: ./caipirinha
image: eubrabigsea/caipirinha
volumes:
- type: bind
source: ./config/caipirinha-config.yaml
target: /usr/local/caipirinha/conf/caipirinha-config.yaml
networks:
- default
restart: always
tahiti:
build: ./tahiti
image: eubrabigsea/tahiti
volumes:
- type: bind
source: ./config/tahiti-config.yaml
target: /usr/local/tahiti/conf/tahiti-config.yaml
networks:
- default
restart: always
juicer:
build: ./juicer
image: eubrabigsea/juicer
environment:
- HADOOP_CONF_DIR=/usr/local/juicer/conf
command: ["/usr/local/juicer/sbin/juicer-daemon.sh", "docker"]
volumes:
- type: bind
source: ./config/juicer-config.yaml
target: /usr/local/juicer/conf/juicer-config.yaml
- type: bind
source: ./config/hdfs-site.xml
target: /usr/local/juicer/conf/hdfs-site.xml
- type: bind
source: /srv/lemonade/storage
target: /srv/storage
#- type: bind
# source: ./lemonade-spark-ext/target/lemonade-spark-ext-1.0-SNAPSHOT.jar
# target: /usr/local/juicer/jars/lemonade-spark-ext-1.0-SNAPSHOT.jar
#- type: bind
# source: ./spark-fairness/target/spark-fairness_2.11-1.0.jar
# target: /usr/local/juicer/jars/spark-fairness_2.11-1.0.jar
networks:
- default
restart: always
# Uncomment next lines if you are connecting to an external spark cluster
#ports:
# - '37100-37399:37100-37399'
citrus:
build: ./citrus
image: eubrabigsea/citrus
ports:
- '23456:8080'
volumes:
- type: bind
source: ./config/nginx.conf
target: /etc/nginx/conf.d/default.conf
networks:
- default
restart: always
# seed:
# build: ./seed
# image: eubrabigsea/seed
# volumes:
# - type: bind
# source: ./config/seed-config.yaml
# target: /usr/local/seed/conf/seed.yaml
# networks:
# - default
# restart: always
#
# seed_worker:
# build: ./seed
# image: eubrabigsea/seed
# entrypoint:
# - "/usr/bin/dumb-init"
# - "--"
# - "/usr/local/bin/entrypoint"
# - "worker"
# volumes:
# - type: bind
# source: ./config/seed-config.yaml
# target: /usr/local/seed/conf/seed.yaml
# networks:
# - default
# restart: always
networks:
default: