docker-compose.yml-sample 877 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
version: '2'
services:
  couchdb:
    restart: unless-stopped
    image: oeru/couchdb2
    ports:
      - "127.0.0.1:5984:5984"
    environment:
      - COUCHDB_USER=admin
      - COUCHDB_PASSWORD=[admin-pass]
      - COUCHDB_BOT_USER=bot
      - COUCHDB_BOT_PASSWORD=[bot-pass]
    volumes:
      - [local data path]/couchdb:/opt/couchdb/data
  faye:
    restart: unless-stopped
    image: oeru/faye
    ports:
      - "127.0.0.1:8380:80"
    depends_on:
      - couchdb
    volumes:
      - [local data path]/faye:/opt/wenotes/server
      - [local data path]/config/options.json:/opt/wenotes/server/options.json
  wenotes-tools:
    restart: unless-stopped
    image: oeru/wenotes-tools
    depends_on:
      - couchdb
      - faye
    volumes:
      - [local data path]/tools:/opt/wenotes/tools
      - [local data path]/config/options.json:/opt/wenotes/tools/options.json