logpacker / mailer

0 stars 2 forks source link

Create deploy script #5

Closed plutov closed 7 years ago

plutov commented 7 years ago

You can find build steps here in Deploy & Build section. https://github.com/logpacker/mailer (README).

Need to deploy Supervisord configuration for 2 apps and daemonize it with the following commands:

./mailer_api
./mailer_daemon -db "mailer:viHai8da@tcp(127.0.0.1:3306)/mailer" -x "https://mailer.logpacker.com"

Where -x "https://mailer.logpacker.com" is a public URL proxing to Mailer API (used for tracker pic).

I have already prepared supervisord conf: /etc/supervisor/conf.d/mailer.conf