-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-stack.yml
39 lines (37 loc) · 932 Bytes
/
docker-stack.yml
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
version: '3.3'
services:
app:
image: aquinum/lutim
configs:
- source: lutim.conf
target: /home/lutim/lutim.conf
uid: '1000'
gid: '1000'
mode: 0440
deploy:
replicas: 1
db:
image: postgres:11.2-alpine
environment:
POSTGRES_PASSWORD: <changeme>
POSTGRES_USER: lutim
POSTGRES_DB: lutim
cache:
image: memcached:1.5-alpine
minion:
image: aquinum/lutim
command: minion
configs:
- source: lutim.conf
target: /home/lutim/lutim.conf
uid: '1000'
gid: '1000'
mode: 0440
minion_db:
image: mariadb:10.3
environment:
MYSQL_ROOT_PASSWORD: <changeme>
MYSQL_DATABASE: lutim_minion
configs:
lutim.conf:
file: ./lutim.conf