Add Dockerfile, docker-compose.yml, and docker.env

Omnibot can be run using Docker and docker-compose using the provided
files.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-08-18 15:17:53 -07:00
parent 5742bf52e2
commit 88bd7a6231
3 changed files with 41 additions and 0 deletions

13
docker-compose.yml Normal file
View File

@@ -0,0 +1,13 @@
version: "3.8"
services:
omnibot:
#image: "elixir:1.10"
build: .
#environment:
#MIX_ENV: prod
env_file: docker.env
volumes:
- ".:/app"
working_dir: "/app"
restart: always
#entrypoint: "mix local.hex --force; mix run --no-halt"