Closed u007 closed 6 years ago
hi @andris9 how much do you charge for setup? i need it to be inside docker, here is my current setup:
version: "3.2"
services:
mongodb:
image: mongo:4.0
volumes:
- ./db:/data/db
restart: unless-stopped
networks:
- default
ports:
- 27017:27017
redis:
image: "redis:4-alpine"
ports:
- "6379:6379"
volumes:
- ./redis:/data
restart: unless-stopped
networks:
- default
zonemta:
depends_on:
- mongodb
- redis
build: ./src
volumes:
- ./config:/zone-mta/config
restart: unless-stopped
networks:
- default
ports:
- 2525:2525
- 12080
environment:
- "NODE_ENV=production"
admin:
depends_on:
- zonemta
- mongodb
- redis
build: ./admin-src
volumes:
- ./admin-config:/zone-mta-admin/config
restart: unless-stopped
networks:
- default
ports:
- 8082:8082
environment:
- "NODE_ENV=production"
right now, i just need to try if auth can work
ZoneMTA plugins can be loaded in 3 different stages:
Authentication is enabled in zone-mta-template by default by the example-auth plugin. It uses hard coded credentials that can be changed here.
hi,
how do i hardcode a user login and password? im seing plugins/example.conf and example-auth.conf what does enabled="receiver" means?