Skip to content

Commit de73c72

Browse files
committed
Add docker-compose.yml
1 parent 44bb2df commit de73c72

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ old-confs/
66
# Ignore config
77
conf.json
88
.auth
9+
10+
# Ignore for docker-compose
11+
docker-compose.override.yml
12+
trellobot-data/

docker-compose.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#
2+
# Source code address
3+
# https://hub.docker.com/u/cuongtransc/
4+
#
5+
# syntax: https://docs.docker.com/compose/compose-file/
6+
#
7+
8+
version: "2.4"
9+
10+
services:
11+
trellobot:
12+
image: cuongtransc/trellobot:0.1
13+
# ports:
14+
# - "80:80"
15+
networks:
16+
- comp_default
17+
# environment:
18+
# - discordToken=Tg4MjUxNjQzOTI4.DmxeWw.ZR-3DkCB3sR
19+
volumes:
20+
- ./trellobot-data/.auth:/app/.auth
21+
- ./trellobot-data/conf.json:/app/conf.json
22+
- ./trellobot-data/.latestActivityID:/app/.latestActivityID
23+
hostname: trellobot
24+
domainname: coclab.lan
25+
cpu_shares: 512
26+
mem_limit: 100M
27+
init: true
28+
# privileged: true
29+
# restart: always
30+
# stdin_open: true
31+
# tty: true
32+
33+
networks:
34+
comp_default:
35+
external: true

0 commit comments

Comments
 (0)