-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
67 lines (61 loc) · 1.77 KB
/
docker-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
---
# Use postgres/example user/password credentials
version: '3.1'
services:
db:
image: postgres:10.1
restart: always
environment:
POSTGRES_DB: lapidary
POSTGRES_USER: lapidary
POSTGRES_PASSWORD: lapidary
lapidary:
# replace username/repo:tag with your name and image details
image: theasp/lapidary:latest
restart: always
ports:
- "8081:80"
environment:
HTTP__ADDRESS: 0.0.0.0
HTTP__PORT: 80
DB__HOSTNAME: db
DB__PORT: 5432
DB__USERNAME: lapidary
DB__PASSWORD: lapidary
DB__DATABASE: lapidary
JWT__SECRET: "Change this string to something random, like a UUID"
# Static users
USERS__ADMIN__PASSWORD: "ChangeMe!"
USERS__ADMIN__ROLE: admin
# USERS__THEASP__PASSWORD: "letmein!"
# USERS__THEASP__ROLE: admin
# To use LDAP
# AUTH__METHOD: ldap
# LDAP__URL: ldaps://ldap.example.com
# LDAP__BIND_DN: cn=readonly,dc=example,dc=com
# LDAP__BIND_PASSWORD: "example"
# LDAP__USER_BASE_DN: "ou=people,dc=example,dc=com"
# LDAP__USER_FILTER: "(uid={{username}})"
# LDAP__ROLE_MAPPINGS__ADMIN: cn=lapdiary-admin,ou=group,dc=example,dc=com
# LDAP__USER_ATTR: uid
# LDAP__GROUP_ATTR: memberOf
# LDAP__RECONNECT: true
# LDAP__TLS_VERIFY: true
# Provisioning
PROVISION__TABLES: systemd,syslog,unmatched
depends_on:
- db
fluentd:
image: theasp/fluentd-plugins:common
restart: always
ports:
- "24230:24224"
- "5145:5140/tcp"
- "5145:5140/udp"
volumes:
- "./docker/fluentd/etc:/fluentd/etc"
- "./docker/fluentd/log:/fluentd/log"
- "./docker/fluentd/pos:/fluentd/pos"
- "./docker/fluentd/pos:/fluentd/buffer"
depends_on:
- db