Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "2.1"
- networks:
- aca:
- driver: bridge
- services:
- search:
- image: wille/aca:elastic2
- container_name: elastic
- restart: unless-stopped
- user: elasticsearch
- networks:
- - aca
- ports:
- - "localhost:9200:9200"
- hostname: elastic
- volumes:
- - ./config/elastic/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:Z
- - ./config/elastic/logging.yml:/usr/share/elasticsearch/config/logging.yml:Z
- - ./data/elastic:/usr/share/elasticsearch/data:Z
- environment:
- - TZ=$TZ
- - ES_CLUSTER=$ES_CLUSTER
- - CB_USER=$CB_USER
- - CB_PASS=$CB_PASS
- db:
- image: couchbase:4.6.2
- container_name: couch
- restart: unless-stopped
- networks:
- - aca
- hostname: couch
- volumes:
- - ./data/couch:/opt/couchbase/var:Z
- environment:
- - TZ=$TZ
- - CB_USER=$CB_USER
- - CB_PASS=$CB_PASS
- app:
- image: wille/aca:engine2
- restart: unless-stopped
- container_name: engine
- networks:
- - aca
- hostname: engine
- depends_on:
- - db
- - search
- volumes:
- - ${ACA_DEVICE_MODULES}:/home/aca-apps/aca-device-modules:Z
- environment:
- - TZ=$TZ
- - ELASTIC=elastic
- - ELASTIC_INDEX=$ES_CLUSTER
- - COUCHBASE_HOST=couch
- - COUCHBASE_PASSWORD=$CB_PASS
- - UV_THREADPOOL_SIZE=32
- web:
- image: nginx:stable
- restart: unless-stopped
- networks:
- - aca
- ports:
- - "80:80"
- - "443:443"
- hostname: nginx
- depends_on:
- - app
- volumes:
- - ./config/nginx:/etc/nginx:ro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement