Skip to content

Commit

Permalink
Add docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongtransc committed Sep 1, 2018
1 parent 44bb2df commit ea1a30f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ old-confs/
# Ignore config
conf.json
.auth

# Ignore for docker-compose
docker-compose.override.yml
trellobot-data/
35 changes: 35 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# Source code address
# https://hub.docker.com/u/cuongtransc/
#
# syntax: https://docs.docker.com/compose/compose-file/
#

version: "2"

services:
trellobot:
image: cuongtransc/trellobot:0.1
# ports:
# - "80:80"
networks:
- comp_default
# environment:
# - discordToken=Tg4MjUxNjQzOTI4.DmxeWw.ZR-3DkCB3sR
volumes:
./.auth:/app/.auth
./.conf.json:/app/conf.json
./.latestActivityID:/app/.latestActivityID
hostname: trellobot
domainname: coclab.lan
cpu_shares: 512
mem_limit: 100M
init: true
# privileged: true
# restart: always
# stdin_open: true
# tty: true

networks:
comp_default:
external: true

0 comments on commit ea1a30f

Please sign in to comment.