Improved docker settings #2

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2022-12-20 17:02:51 +01:00
parent b072f4bd94
commit 05c7158ed0
2 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ RUN apt-get update && \
VOLUME ["/etc/piler"]
VOLUME ["/var/piler/store"]
VOLUME ["/var/piler/manticore"]
EXPOSE 25 80 443

View File

@ -52,6 +52,7 @@ services:
volumes:
- piler_etc:/etc/piler
- piler_var_store:/var/piler/store
- piler_var_manticore:/var/piler/manticore
healthcheck:
test: curl -s smtp://localhost/
interval: "60s"
@ -73,3 +74,4 @@ volumes:
db_data: {}
piler_etc: {}
piler_var_store: {}
piler_var_manticore: {}