507
edits
mNo edit summary Tag: 2017 source edit |
Tag: 2017 source edit |
||
| (One intermediate revision by one other user not shown) | |||
| Line 893: | Line 893: | ||
Note : | Note : | ||
==== | ====Restore Discourse backup from command line==== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
| Line 927: | Line 927: | ||
''Useful to be able to access the database from a graphical client (like pgAdmin 4, TablePlus or Postico for example).'' | ''Useful to be able to access the database from a graphical client (like pgAdmin 4, TablePlus or Postico for example).'' | ||
1. Expose the 5432 TCP port from the container to the host by adding this line to the '''<code>expose:</code>''' section of <code>containers/app.yml</code> : | 1. Expose the 5432 TCP port from the container to the host by adding this line to the '''<code>expose:</code>''' section of <code>/var/discourse/containers/app.yml</code> : | ||
<syntaxhighlight lang="yaml"> | <syntaxhighlight lang="yaml"> | ||
- "5432:5432" | - "5432:5432" | ||