You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hugobot/docker-compose.yml

43 lines
728 B
YAML

version: "2.2"
volumes:
js-deps:
build:
sqlite-db:
services:
bot:
image: hugobot/hugobot
build: .
volumes:
- path_to_website:/website
- $PWD:/hugobot
- sqlite-db:/db
environment:
- BUILD_DIR=/build
restart: on-failure
ports:
- "8734:8734"
working_dir: /hugobot
sqlite-web:
image: hugobot/sqlite-web
build:
context: .
dockerfile: ./Dockerfile-sqliteweb
ports:
- "8080"
volumes:
- sqlite-db:/db
environment:
- SQLITE_DATABASE=hugobot.sqlite
- SQLITE_WEB_PASSWORD=hugobot