dockerize

This commit is contained in:
Guilhem Saurel
2019-02-11 01:29:55 +01:00
parent 9443fed29e
commit 5139c2d612
3 changed files with 30 additions and 1 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
version: '3'
networks:
web:
external: true
services:
bot:
build: .
restart: unless-stopped
env_file:
- .env
networks:
- web
labels:
traefik.enable: "true"
traefik.frontend.rule: "Host: ${CHATONS_SERVICE:-wwm}.${CHATONS_DOMAIN:-localhost}, www.${CHATONS_SERVICE:-wwm}.${CHATONS_DOMAIN:-localhost}"