Skip to content

Commit

Permalink
updated enviroment, compose and docker files with version references
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSav authored and SaraSmiseth committed Jun 14, 2020
1 parent 529aa22 commit e7e7b37
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM mailserver2/debian-mail-overlay:latest
FROM mailserver2/debian-mail-overlay:1.0.0

LABEL description="Simple and full-featured mail server using Docker" \
maintainer="Hardware <[email protected]>"
LABEL description="Simple and full-featured mail server using Docker"

ARG DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- http_network

mailserver:
image: hardware/mailserver:${MAILSERVER_DOCKER_TAG}
image: mailserver2/mailserver:${MAILSERVER_DOCKER_TAG}
restart: ${RESTART_MODE}
domainname: ${MAILSERVER_DOMAIN} # Mail server A/MX/FQDN & reverse PTR = mail.domain.tld.
hostname: ${MAILSERVER_HOSTNAME}
Expand Down Expand Up @@ -82,7 +82,7 @@ services:
# http://postfixadmin.sourceforge.net/
# Configuration : https://github.com/hardware/mailserver/wiki/Postfixadmin-initial-configuration
postfixadmin:
image: hardware/postfixadmin
image: mailserver2/postfixadmin:${POSTFIXADMIN_DOCKER_TAG}
restart: ${RESTART_MODE}
domainname: ${MAILSERVER_DOMAIN}
hostname: ${MAILSERVER_HOSTNAME}
Expand All @@ -105,7 +105,7 @@ services:
# https://www.rainloop.net/
# Configuration : https://github.com/hardware/mailserver/wiki/Rainloop-initial-configuration
rainloop:
image: hardware/rainloop
image: mailserver2/rainloop:${RAINLOOP_DOCKER_TAG}
restart: ${RESTART_MODE}
labels:
- traefik.enable=true
Expand Down
14 changes: 5 additions & 9 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,11 @@ RSPAMD_PASSWORD=
MAILSERVER_HOSTNAME=mail

# Mailserver version
# 1.1-stable : Stable version (v1.1-stable github branch)
# 1.1-latest : Latest development build (master github branch)
# Latest development builds have been validated through
# the CI automation system but they are not meant for
# deployment in production.
# 1.1-stable and 1.1-latest are rebuilt weekly on the docker hub but if you
# have any problem with a new build you can switch to 1.1-stable-fallback
# The fallback tag is rebuilt monthly.
MAILSERVER_DOCKER_TAG=1.1-stable
MAILSERVER_DOCKER_TAG=1.1.1

POSTFIXADMIN_DOCKER_TAG=3.2.4

RAINLOOP_DOCKER_TAG=1.14.0

# Docker volumes parent folder
VOLUMES_ROOT_PATH=/mnt/docker
Expand Down

0 comments on commit e7e7b37

Please sign in to comment.