hugobot/docker-compose.yml
Chakib Benziane a948d4bf69 initial
2019-04-10 15:15:33 +02:00

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