Skip to content
Snippets Groups Projects
Verified Commit 8786b595 authored by David Beniamine's avatar David Beniamine
Browse files

Mount log directories

parent c752ba6b
Branches
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ services:
- "spool_sympa:/var/spool/sympa"
- "spool_nullmailer:/var/spool/nullmailer"
- "lib_sympa:/var/lib/sympa"
- "./log/sympa:/var/log/"
links:
- pgsql
environment:
......@@ -34,7 +35,7 @@ services:
build: ./docker/postfix
volumes:
- "./sympa/shared:/etc/sympa/shared"
- "./postfix/log:/var/log/postfix"
- "./log/postfix:/var/log/postfix"
- "spool_postfix:/var/spool/postfix"
networks:
- postfix
......
......@@ -86,5 +86,6 @@ if [ -n "$HOSTNAME" ]; then
echo "$HOSTNAME" > /etc/mailname
fi
mkdir -p /var/log/supervisor/
# Launch all services
exec /usr/bin/supervisord
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment