-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.yml
46 lines (43 loc) · 861 Bytes
/
common.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
version: '2'
services:
db:
image: postgres
container_name: postgres
logging:
driver: syslog
options:
syslog-address: "udp://127.0.0.1:5514"
tag: "postgres:"
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: libkeep
ports:
- "5432:5432"
syslog:
build:
context: .
dockerfile: Dockerfile-syslog
container_name: syslog_to
ports:
- "5514:514/udp"
volumes:
- ./log:/var/log
app:
build: .
container_name: app
environment:
DEBUG: 0
HOST: '0.0.0.0'
PORT: 5000
DB_PASSWORD: password
DB_USER: libkeep
DB_HOST: db
DB_PORT: 5432
DB_NAME: libkeep
ports:
- "5000:5000"
logging:
driver: syslog
options:
syslog-address: "udp://127.0.0.1:5514"
tag: "app:"