Commit b44b0f59 authored by Dave Lane's avatar Dave Lane
Browse files

added docker-compose.yml and sample configuration

parent 84395d14
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
options.json
secrets
tmp
docker-compose.yml
+33 −0
Original line number Diff line number Diff line
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