Attempt to add dockerfile

This commit is contained in:
Esther
2021-02-15 01:45:26 +00:00
parent 32bdec59fe
commit 84c82f6a56
5 changed files with 33 additions and 6 deletions

22
pastel-codes.service Normal file
View File

@@ -0,0 +1,22 @@
[Unit]
Description="pastel.codes web service"
Documentation=https://pastel.codes.com
After=network.target
[Service]
Environment=PORT=7000
Environment=NODE_ENV=production
Environment=GHOST_KEY=key
Environment=HCAPTCHA_KEY=key
Environment=SENDGRID_API_KEY=key
Environment=TO_MAIL_USER=user
Environment=REPLY_TO_MAIL=user
Environment=FROM_MAIL_USER=user
StandardOutput=syslog
SyslogIdentifier=pastel-codes
User=web
ExecStart=/home/web/pastel.codes/bin/www
Restart=always
[Install]
WantedBy=multi-user.target