-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkontena.yml
More file actions
62 lines (59 loc) · 1.32 KB
/
Copy pathkontena.yml
File metadata and controls
62 lines (59 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
stack: vngu/ogame
version: '0.0.1'
description: ogame
services:
bot:
image: pingu/ogamebot:latest
affinity:
- node==grapefruit
environment:
- KONTENA_LB_INTERNAL_PORT=5000
- KONTENA_LB_VIRTUAL_HOSTS=ogamebot.quving.com
- TZ=Europe/Berlin
- OGAMEBOT_POSTGRES_HOST=postgres
- OGAMEBOT_POSTGRES_USER=ogamebot
- OGAMEBOT_POSTGRES_DB=ogamebot_db
- OGAMEBOT_REDIS_HOST=redis
links:
- lb/lb
- postgres
- redis
secrets:
- secret: SELENIUM_HUB_HOST
name: SELENIUM_HUB_HOST
type: env
- secret: OGAMEBOT_SECRET_KEY
name: OGAMEBOT_SECRET_KEY
type: env
- secret: OGAMEBOT_POSTGRES_PASSWORD
name: OGAMEBOT_POSTGRES_PASSWORD
type: env
postgres:
image: postgres:11
instances: 1
affinity:
- node==grapefruit
stateful: yes
volumes:
- /srv/ogamebot/postgres:/data/db
links:
- lb/lb
environment:
- TZ=Europe/Berlin
- POSTGRES_USER=ogamebot
- POSTGRES_DB=ogamebot_db
secrets:
- secret: OGAMEBOT_POSTGRES_PASSWORD
name: POSTGRES_PASSWORD
type: env
redis:
image: redis:latest
instances: 1
affinity:
- node==grapefruit
stateful: yes
links:
- lb/lb
environment:
- TZ=Europe/Berlin