Saltstack bits for BC
======= Runs on abyss.buddycloud.com
- install services into
/opt/buddycloud-<servicename>
- all services run as nobody:nogroup (except nginx)
- Log everything to
/var/log/buddycloud/<service-name>.log
(makes it nice to do atail -F /var/log/buddycloud/*log
) - logrotate everything
- use
buddycloud.dev
for default domain - all services use and upstart script
- remove init.d scripts
- clean up pillar environment to something like:
buddycloud:<env>:setting
buddycloud:
"*":
ntp-server: 1.2.3.4
dns-server: 1.2.3.4
dev:
dns-server: 2.3.4.5 # should override "*" settings.
frontend-url: http://localhost:3000
send-address: [email protected]
smtp-server: abyss.buddycloud.com
channels-xmpp-componet-password: channels-component-secret
media-xmpp-componet-password: media-component-secret
si:
...
prod:
...