mkdir -p gopaddle
cd gopaddle
services:
gopaddle:
depends_on:
- mongodb
- redis
image: gopaddle/gplite
ports:
- "8006:8006"
- "8080:8080"
- "8017:8017"
- "8009:8009"
- "8011:8011"
- "9090:9090"
environment:
BASE_SERVER: http://localhost:8006
GP_RELEASE: 4.2.7
INSTALL_SOURCE: lite
CLUSTER_TYPE: docker
NODE_IP: http://localhost:8006
DOMAIN_NAME: http://localhost:8006
WEBHOOK_NODE_IP: http://localhost:9090
healthcheck:
test: curl --fail http://localhost:8080 || exit 1
interval: 10s
retries: 5
start_period: 30s
timeout: 30s
mongodb:
container_name: mongodb
image: mongo:4.0.4
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: cGFzc3dvcmQ
MONGO_LITE_USERNAME: lite
volumes:
- type: bind
source: ~/mongodb
target: /var/lib/mongodb
bind:
create_host_path: true
redis:
image: gopaddle/redis:3.2-alpine
container_name: redis
influxdb:
image: gopaddle/influxdb:1.7.0
container_name: influxdb
environment:
INFLUXDB_ADMIN_PASSWORD: cGFzc3dvcmQ
INFLUXDB_ADMIN_USER: admin
INFLUXDB_HTTP_AUTH_ENABLED: "true"
volumes:
- type: bind
source: ~/influxdb
target: /var/lib/influxdb
bind:
create_host_path: true
esearch:
image: elasticsearch:7.12.0
container_name: esearch
environment:
discovery.type: single-node
ELASTIC_PASSWORD: cGFzc3dvcmQ
rabbitmq:
image: gopaddle/rabbitmq:3.8.5
container_name: rabbitmq