-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yml
68 lines (68 loc) · 1.42 KB
/
compose.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
services:
etcd:
restart: always
image: gcr.io/etcd-development/etcd:v3.5.9
container_name: etcd
command:
- etcd
- --name
- s1
- --data-dir
- /data
- --listen-client-urls
- http://0.0.0.0:2379
- --advertise-client-urls
- http://0.0.0.0:2379
- --listen-peer-urls
- http://0.0.0.0:2380
- --initial-advertise-peer-urls
- http://0.0.0.0:2380
- --initial-cluster
- s1=http://0.0.0.0:2380
- --initial-cluster-token
- tkn
- --initial-cluster-state
- new
network_mode: host
deploy:
resources:
limits:
memory: 100m
cpus: "1"
volumes:
- data:/data
lln:
restart: always
image: rkonfj/lln:v0.1.0
container_name: lln
environment:
OIDC_GOOGLE_CLIENT_ID: xxx
OIDC_GOOGLE_CLIENT_SECRET: xxx
OIDC_GOOGLE_REDIRECT: xxx
OIDC_GITHUB_CLIENT_ID: xxx
OIDC_GITHUB_CLIENT_SECRET: xxx
OIDC_GITHUB_REDIRECT: xxx
command: -c /etc/lln.yml
network_mode: host
deploy:
resources:
limits:
memory: 50m
cpus: "1"
weblln:
restart: always
image: rkonfj/weblln:v0.1.0
container_name: weblln
environment:
LLN_DOMAIN: open.lowlevelnews.com
network_mode: host
deploy:
resources:
limits:
memory: 50m
cpus: "1"
volumes:
- weblln:/data/caddy
volumes:
data: {}
weblln: {}