# Onde está o app.yml para o Synology Docker Discourse?

**URL:** https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821
**Category:** Support
**Tags:** unsupported-install
**Created:** [Janeiro 12, 2018, 9:22am UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821 "2018-01-12T09:22:20Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![tech3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tech3/32/87170_2.png) [@tech3](https://meta.discourse.org/u/tech3)
#### Post date: [Janeiro 12, 2018, 9:22am UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/1 "2018-01-12T09:22:20Z")

</div>

Where is the app.yml file for Synology Docker Discourse?

I’m trying to change the system email SMTP setting as I discovered that the Discourse is not able to send out email now. An ex-staff installed the Docker Discourse on the Synology, so I’ve no idea how he did it.

I got these instructions from Google search:

Check and edit the settings in your containers/app.yml file.

```
cd /var/discourse
./launcher rebuild app

```

The problem is that app.yml is nowhere to be found. /var/discourse is an empty directory.

I ran this command as superuser at root:  
`time find . -name "app.yml"`

There are zero results.

In my Synology web control panel, I can see the Discourse container. When I click on it, the Discourse forum webpage appears. That’s all.

How can I derive more information about where the Discourse SMTP settings are stored?

---

<div class="post-metadata">

### Author: ![dnsmichi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnsmichi/32/379505_2.png) [@dnsmichi](https://meta.discourse.org/u/dnsmichi)
#### Post date: [Janeiro 12, 2018, 9:55am UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/2 "2018-01-12T09:55:41Z")

</div>

IIRC NAS devices don’t have local storage, but they map/install application data onto the HDDs provided.

Seems Discourse is available as official add-on: [Packages | Synology Inc.](https://www.synology.com/en-global/dsm/packages/Docker-Discourse)  
Digging deeper, this is a proprietary format with `.spk`. Can be extracted with tar.

> **[Synology Archive Download Site - Index of /download](https://archive.synology.com/download)**

[https://forum.synology.com/enu/viewtopic.php?t=10575](https://forum.synology.com/enu/viewtopic.php?t=10575)

Guess you would need to extract the data, re-build the spk file and then deploy this app again. Maybe Synology support know more about their packages, or the Discourse package maintainer over there.

I don’t have a Synology at hand, but it seems they have their own way to package Docker images and run them.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [Janeiro 12, 2018, 1:55pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/3 "2018-01-12T13:55:22Z")

</div>

You’ll need to ask the synology folks how their system works.

---

<div class="post-metadata">

### Author: ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)
#### Post date: [Março 9, 2018, 4:14pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/4 "2018-03-09T16:14:03Z")

</div>

The Synology package does not use app.yml for the email settings. But we also could not receive the activation email while Synology support confirmed the email settings were not the problem. They did not tell what it was, but in the Docker logs I see errors that sound bad, like “duplicate key value violates unique constraint” and “Broken pipe”.

Synology has developed its [own Docker image](https://hub.docker.com/r/synology/discourse/) for Discourse. To me it looks like their version 1.2.1 is broken. They say they are working on 1.3.10 but having trouble with “a database scheme that has changed”. IMHO they’d better use the official Discourse image, but only for models with enough RAM to allow Docker to claim 1 GB for a container.

For our Discourse pilot we ended up on an old low power PC with 4 GB and Lubuntu 16.04 LTS. With [these excellent instructions](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) and hardly any Unix experience I got it working.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [Março 9, 2018, 7:24pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/5 "2018-03-09T19:24:32Z")

</div>

> [@willemb2](#):
>
> They say they are working on 1.3.10

Do you really mean Discourse 1.3.10? The current version is 1.9. That’s not really going to help.

---

<div class="post-metadata">

### Author: ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)
#### Post date: [Março 9, 2018, 8:36pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/6 "2018-03-09T20:36:23Z")

</div>

Yes, that’s what they wrote me. And that’s what I replied to them.

They have their own 100% GUI install system called the Package Center. That’s why their packages are always a little behind. Like their WordPress is now 4.9.1 while mainstream is 4.9.4. That’s not bad. But their Discourse package is 3 years behind. Here on meta or on Synology forums I cannot find evidence of anyone successfully using it.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [Março 9, 2018, 8:43pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/7 "2018-03-09T20:43:22Z")

</div>

It’s hard for me to come up with a reason to run Discourse on a NAS beyond proof of concept.

---

<div class="post-metadata">

### Author: ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)
#### Post date: [Março 9, 2018, 9:04pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/8 "2018-03-09T21:04:11Z")

</div>

Agree, a proof of concept was indeed our purpose.

But [don’t underestimate](https://www.synology.com/en-global/products/FS3017) their NASses 😉

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [Maio 17, 2018, 8:26am UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/9 "2018-05-17T08:26:33Z")

</div>

I’ve been fiddling with this a bit.

Using the Syno Docker install you can select the official Discourse/base

Map a share (/volume1/docker/discourse) to /var/discourse  
make a symbolic link /var/discourse to the share

git pull works  
./discourse-setup works  
./launcher works (it complains about docker CE version, but stop/start/rebuild work)

Haven’t managed to get the web interface up, but it’s probably my own ignorance.

---

<div class="post-metadata">

### Author: ![prdsr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/prdsr/32/113300_2.png) [@prdsr](https://meta.discourse.org/u/prdsr)
#### Post date: [Agosto 7, 2019, 7:16pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/10 "2019-08-07T19:16:10Z")

</div>

Você conseguiu avançar com a imagem do Docker do Synology?

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [Agosto 7, 2019, 7:20pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/11 "2019-08-07T19:20:08Z")

</div>

Não se preocupe com a imagem do Synology; basta vincular um compartilhamento a /var/discourse e depois siga a instalação padrão de 30 minutos.

Ele reclama que o Docker está desatualizado quando você usa ./launcher, então é necessário usar --ignore-prereqs.

Caso contrário… está tudo bem para testes.

---

<div class="post-metadata">

### Author: ![Malek1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/malek1/32/204039_2.png) [@Malek1](https://meta.discourse.org/u/Malek1)
#### Post date: [Janeiro 7, 2021, 10:00pm UTC](https://meta.discourse.org/t/where-is-app-yml-for-synology-docker-discourse/77821/12 "2021-01-07T22:00:54Z")

</div>

Consegui instalar o Discourse em um NAS Synology usando imagens da Bitnami: [bitnami/discourse - Docker Image](https://registry.hub.docker.com/r/bitnami/discourse/) Funciona bem, mas agora, ao tentar instalar plugins, não consigo encontrar os arquivos app.yml. Alguém encontrou uma solução?
