Initial kosmos_discourse cookbook #223

Merged
greg merged 5 commits from feature/222-discourse into master 2020-10-23 10:12:12 +00:00
Owner
  • The nginx vhost forwards real IPs to the container
  • Fix the systemd unit

The cookbook was started as a pairing session. I will add a manual contribution for writing the systemd unit

* [x] The nginx vhost forwards real IPs to the container * [x] Fix the systemd unit The cookbook was started as a pairing session. I will add a manual contribution for writing the systemd unit
greg added the
kredits-2
feature
labels 2020-10-20 10:24:05 +00:00
greg self-assigned this 2020-10-20 10:24:05 +00:00
raucao reviewed 2020-10-20 12:09:12 +00:00
@ -0,0 +35,4 @@
revision "master"
end
# FIXME: The systemd unit does not work
Owner

Also, this should use a service chef resource IMO.

The service merely needs to use the launcher script in /opt/discourse. I.e. ./launcher start|stop|restart app.

Also, this should use a `service` chef resource IMO. The service merely needs to use the launcher script in `/opt/discourse`. I.e. `./launcher start|stop|restart app`.
Author
Owner

I thought I'd fixed the service, but it only worked once in my VM and now it doesn't work anymore.

I thought I'd fixed the service, but it only worked once in my VM and now it doesn't work anymore.
greg changed title from WIP: Initial kosmos_discourse cookbook to Initial kosmos_discourse cookbook 2020-10-23 07:29:06 +00:00
Author
Owner

This is running on centaurus, systemd now starts Discourse automatically on boot. Ready to review and merge

This is running on centaurus, systemd now starts Discourse automatically on boot. Ready to review and merge
greg requested review from raucao 2020-10-23 07:30:15 +00:00
raucao approved these changes 2020-10-23 07:59:53 +00:00
raucao left a comment
Owner

LGTM 👍

Please see kosmos-dev chat for kredits comment.

LGTM 👍 Please see kosmos-dev chat for kredits comment.
raucao was assigned by greg 2020-10-23 10:10:50 +00:00
greg merged commit efd985f6ba into master 2020-10-23 10:12:12 +00:00
raucao deleted branch feature/222-discourse 2020-10-23 21:01:00 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#223
No description provided.