-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker.cfg
31 lines (27 loc) · 981 Bytes
/
docker.cfg
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
[buildout]
extends =
base.cfg
prod.cfg
zeo.cfg
# relstorage.cfg
allow-picked-versions = false
[zeoserver]
file-storage = /data/filestorage/Data.fs
blob-storage = /data/blobstorage
[instance]
zeo-address = $(ZEO_HOST):$(ZEO_PORT)
file-storage = /data/filestorage/Data.fs
blob-storage = /data/blobstorage
event-log-handler = logging.handlers.TimedRotatingFileHandler
event-log-args = (r"/data/log/" + os.getenv('HOSTNAME') + r".log",)
event-log-level = INFO
event-log-kwargs = {"when": "D", "interval": 7}
access-log-handler = logging.handlers.TimedRotatingFileHandler
access-log-args = (r"/data/log/" + os.getenv('HOSTNAME') + r"-access.log",)
event-log-kwargs = {"when": "D", "interval": 7}
access-log-level = INFO
#rel-storage =
# type postgresql
# dsn dbname='$(RELSTORAGE_DB)' user='$(RELSTORAGE_USER)' host='$(RELSTORAGE_HOSTNAME)' port='$(RELSTORAGE_PORT)' password='$(RELSTORAGE_PASSWORD)'
# shared-blob-dir true
# blob-dir /data/blobstorage