# How to install ODK Central on Synology NAS with Docker

**URL:** <https://forum.getodk.org/t/how-to-install-odk-central-on-synology-nas-with-docker/33251>\
**Category:** Support\
**Tags:** odk-central\
**Created:** [April 20, 2021, 10:10am UTC](https://forum.getodk.org/t/how-to-install-odk-central-on-synology-nas-with-docker/33251 "2021-04-20T10:10:07Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dkonan](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/dkonan/32/6009_2.png) [@dkonan](https://forum.getodk.org/u/dkonan)\
**Post date:** [May 6, 2021, 10:04pm UTC](https://forum.getodk.org/t/how-to-install-odk-central-on-synology-nas-with-docker/33251/7 "2021-05-06T22:04:44Z")

</div>

**Hi @yanokwa,**  
**Hi @mathieubossaert** ,  
**Hi @shadoworker5**

Many thanks for your guidance.  
After several attempts, failures and reading posts, I was able to install ODK Central on my Synology NAS with Docker.

The key steps to follow:

> **Creation of directories in the central folder**  
> root@xxx: / central # mkdir -p ~/central/files/dkim/config  
> root @xxx: / central # mkdir -p ~/central/files/dkim/rsa.private

> **Creation of directory in at the root**  
> root@xxx: / central # mkdir -p ~/data/transfer

> Changing ports in the docker-compose.yml file

I followed the @jary's guidelines below:

> [@ODK Central with nonstandard port number and custom SSL: Cannot retrieve forms with Collect](https://forum.getodk.org/t/odk-central-with-nonstandard-port-number-and-custom-ssl-cannot-retrieve-forms-with-collect/26264/9):
>
> ```auto
> nginx:
> container_name: nginx
> build:
> context: .
> dockerfile: nginx.dockerfile
> depends_on:
> - service
> environment:
> - SSL_TYPE=${SSL_TYPE}
> - DOMAIN=${DOMAIN}
> - CERTBOT_EMAIL=${SYSADMIN_EMAIL}
> ports:
> - "4480:80" # on the left goes the alternative port number, on right the real port 
> - "4443:443" # and the same applies for https  
> healthcheck:
> test: ["CMD-SHELL", "nc -z localhost 443 || exit 1"]
> 
> ```

Without first modifying the .env file (nano .env)

Then follow the other steps (by positioning yourself in the central directory:

> 1. docker-compose build
> 2. docker-compose up --no - start
> 3. docker-compose up -d
> 4. docker-compose ps # To make sure everything is working fine like below

 ![image](https://getodk.b-cdn.net/uploads/default/original/2X/5/5b58db7517f0f12c0cd0c3b9f9fddec0b4f0002f.png)

> 1. Create email and password

Thanks everyone.  
I will do a tutorial in French with @shadoworker5 for French speakers.  
We think it will be a good opportunity for them

---

_[View the full topic](https://forum.getodk.org/t/how-to-install-odk-central-on-synology-nas-with-docker/33251)._
