Go to file
Christopher Puschmann c901d7b982 Update sources list 2017-12-16 01:14:36 +01:00
nginx Initial commit 2017-12-16 01:08:45 +01:00
node Update sources list 2017-12-16 01:14:36 +01:00
.gitignore Initial commit 2017-12-16 01:08:45 +01:00
README.md Update README.md 2017-12-16 01:13:59 +01:00
docker-compose.yml Initial commit 2017-12-16 01:08:45 +01:00

README.md

Selfhosting Trashmail API

Basic self hosting trashmail API using docker NodeJS, Redis, NGINX + LUA

Requirements

Installation

You need to set permissions right to allow npm to run npm install

chmod -R 777 node
docker-compose up

Use the -d option to run the containers in daemon mode, and docker-compose logs -f to watch logs

Add new domain source list

You can add a new domain source list by modifying node/repositories.json

[
	{
		"name": "adamloving temporary email address domains",
		"url": "https://gist.githubusercontent.com/adamloving/4401361/raw/db901ef28d20af8aa91bf5082f5197d27926dea4/temporary-email-address-domains"
	},
	{
		"name": "my new list",
		"url": "http://my.new.list.com/list.txt"
	}
]