public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
Use more alpine images, thanks to K2rool
66634b19
docker-compose.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Diff
diff --git a/docker-compose.yml b/docker-compose.yml
index eb43d8d9..0d71648f 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -41,7 +41,7 @@ services:
- mysql
redis-mailcow:
- image: redis
+ image: redis:alpine
depends_on:
- bind9-mailcow
volumes:
@@ -217,7 +217,7 @@ services:
- postfix
memcached-mailcow:
- image: memcached
+ image: memcached:alpine
depends_on:
- bind9-mailcow
restart: always
@@ -233,13 +233,13 @@ services:
depends_on:
- sogo-mailcow
- php-fpm-mailcow
- image: nginx:mainline
+ image: nginx:mainline-alpine
healthcheck:
test: ["CMD", "ping", "php-fpm-mailcow", "-c", "10"]
interval: 10s
timeout: 30s
retries: 5
- command: /bin/bash -c "envsubst < /etc/nginx/conf.d/templates/listen_plain.template > /etc/nginx/conf.d/listen_plain.active &&
+ command: /bin/sh -c "envsubst < /etc/nginx/conf.d/templates/listen_plain.template > /etc/nginx/conf.d/listen_plain.active &&
envsubst < /etc/nginx/conf.d/templates/listen_ssl.template > /etc/nginx/conf.d/listen_ssl.active &&
envsubst < /etc/nginx/conf.d/templates/server_name.template > /etc/nginx/conf.d/server_name.active &&
nginx -g 'daemon off;'"