Expose correct Postfix port and remove manual pages
This commit is contained in:
		
							parent
							
								
									ebd58cb120
								
							
						
					
					
						commit
						ae68a565ef
					
				| @ -67,6 +67,7 @@ vi 00-install.sh | |||||||
| | MariaDB     |  3306 | | | MariaDB     |  3306 | | ||||||
| | RabbitMQ    |  5672 | | | RabbitMQ    |  5672 | | ||||||
| | Redis       |  6379 | | | Redis       |  6379 | | ||||||
|  | | Postfix     |    25 | | ||||||
| | Postgres    |  5432 | | | Postgres    |  5432 | | ||||||
| | Solr        |  8983 | | | Solr        |  8983 | | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -7,7 +7,6 @@ docker build -t postfix ${SOURCE_DIR} | |||||||
| 
 | 
 | ||||||
| # Copy existing config files into persistent storage | # Copy existing config files into persistent storage | ||||||
| mkdir -p /srv/postfix/conf /srv/postfix/data | mkdir -p /srv/postfix/conf /srv/postfix/data | ||||||
| chown -R 587:587 /srv/postfix/data |  | ||||||
| docker run --rm -v /srv/postfix/conf:/mnt/conf postfix cp -rp /etc/postfix/. /mnt/conf | docker run --rm -v /srv/postfix/conf:/mnt/conf postfix cp -rp /etc/postfix/. /mnt/conf | ||||||
| 
 | 
 | ||||||
| # Configure postfix | # Configure postfix | ||||||
|  | |||||||
| @ -6,11 +6,13 @@ RUN \ | |||||||
|  addgroup -S -g 587 postfix \ |  addgroup -S -g 587 postfix \ | ||||||
|  && adduser -S -u 587 -h /var/spool/postfix -s /bin/false -g postfix -G postfix postfix \ |  && adduser -S -u 587 -h /var/spool/postfix -s /bin/false -g postfix -G postfix postfix \ | ||||||
|  # Install Postfix |  # Install Postfix | ||||||
|  && apk --no-cache add ca-certificates postfix s6 |  && apk --no-cache add ca-certificates postfix s6 \ | ||||||
|  |  # Cleanup | ||||||
|  |  && rm -r /etc/postfix/access /etc/postfix/aliases /etc/postfix/canonical /etc/postfix/dynamicmaps.cf* /etc/postfix/generic /etc/postfix/header_checks /etc/postfix/postfix-files.d /etc/postfix/relocated /etc/postfix/transport /etc/postfix/virtual | ||||||
| 
 | 
 | ||||||
| COPY docker/ / | COPY docker/ / | ||||||
| 
 | 
 | ||||||
| VOLUME ["/var/spool/postfix"] | VOLUME ["/etc/postfix", "/var/spool/postfix"] | ||||||
| EXPOSE 587 | EXPOSE 25 | ||||||
| 
 | 
 | ||||||
| CMD ["s6-svscan", "/etc/services.d"] | CMD ["s6-svscan", "/etc/services.d"] | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user