-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathdocker-stack.yml
More file actions
38 lines (36 loc) · 884 Bytes
/
Copy pathdocker-stack.yml
File metadata and controls
38 lines (36 loc) · 884 Bytes
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
version: '3.3'
services:
app:
image: aquinum/lstu
configs:
- source: lstu.conf
target: /home/lstu/lstu.conf
uid: '1000'
gid: '1000'
mode: 0440
deploy:
replicas: 1
db:
image: mariadb:10.2
environment:
MYSQL_ROOT_PASSWORD: <changeme>
MYSQL_DATABASE: lstu
cache:
image: memcached:1.5-alpine
minion:
image: aquinum/lstu
command: minion
configs:
- source: lstu.conf
target: /home/lstu/lstu.conf
uid: '1000'
gid: '1000'
mode: 0440
minion_db:
image: mariadb:10.2
environment:
MYSQL_ROOT_PASSWORD: <changeme>
MYSQL_DATABASE: lstu_minion
configs:
lstu.conf:
file: ./lstu.conf