minor tweak of pybook to same format for building as PA, switched to newer cadvisor which seems to work better with newer U22.04 for mara stats, added new ENV vars with newer mail-server

This commit is contained in:
2022-06-25 10:48:10 +10:00
parent 176675e7d1
commit b3b483afab

View File

@@ -228,12 +228,17 @@ services:
- /etc/localtime:/etc/localtime:ro
environment:
- ENABLE_SPAMASSASSIN=1
- ENABLE_SPAMASSASSIN_KAM=1
- SPAMASSASIN_SPAM_TO_INBOX=1
- MOVE_SPAM_TO_JUNK=1
- SA_SPAM_SUBJECT=1
- ENABLE_CLAMAV=1
- ENABLE_FAIL2BAN=1
- ENABLE_POSTGREY=0
- SPOOF_PROTECTION=1
- ONE_DIR=1
- DMS_DEBUG=0
- LOG_LEVEL=warn
- AMAVIS_LOGLEVEL=-1
# in theory these next 2 being empty disables them, but that does not seem to work
- ENABLE_POP3
@@ -521,12 +526,14 @@ services:
- '--storage.path=/alertmanager'
cadvisor:
# image: google/cadvisor:latest
# image: secureimages/cadvisor:0.44.0-alpine-3.16.0
image: gcr.io/cadvisor/cadvisor:latest
# image: google/cadvisor:latest
container_name: cadvisor
privileged: true
command:
- '--disable_metrics=udp'
- '-v=2'
- '--housekeeping_interval=30s'
labels:
- "com.centurylinklabs.watchtower.enable=true"
@@ -634,7 +641,8 @@ services:
bookdb_web:
container_name: bookdb_web
restart: always
build: '/home/ddp/src/pybook'
build:
context: '/home/ddp/src/pybook'
depends_on:
- bookdb
- pihole