# Set up collabora server via docker-compose for use with Hetzner hosted Nextcloud instance

**URL:** <https://forum.collaboraonline.com/t/set-up-collabora-server-via-docker-compose-for-use-with-hetzner-hosted-nextcloud-instance/216>\
**Category:** Installation & Configuration\
**Tags:** english-en\
**Created:** [February 24, 2021, 4:28am UTC](https://forum.collaboraonline.com/t/set-up-collabora-server-via-docker-compose-for-use-with-hetzner-hosted-nextcloud-instance/216 "2021-02-24T04:28:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ikjhgfrtyu](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@ikjhgfrtyu](https://forum.collaboraonline.com/u/ikjhgfrtyu)\
**Post date:** [February 24, 2021, 4:28am UTC](https://forum.collaboraonline.com/t/set-up-collabora-server-via-docker-compose-for-use-with-hetzner-hosted-nextcloud-instance/216/1 "2021-02-24T04:28:07Z")

</div>

I have a Nextcloud instance via Hetzner. I would like to use Collabora CODE to edit online documents with my own server to handle Collabora docs.

I have a vps with docker running and have run the following image via docker-compose:

```auto
version: "3.5"
services:
  collabora:
    image: collabora/code
    container_name: collabora
    restart: unless-stopped
    environment:
      - extra_params=o:ssl.enable=false
      - domain=nx123456\\.your-storageshare\\.de # the domain of my nextcloud instance (amended to be fictional)
      - dictionaries=en_US
    ports:
      - "9980:9980"
    volumes:
      - ./appdata/collabora:/config

```

After running this container, if I type `curl -k https://localhost:9980` in the terminal I get the OK string. So all seems well?

Now I have two separate cloud entities. My Nextcloud instance and my VPS running Collabora code via docker-compose.

Both of these services are separate and independent of each other, yet they are both provided by Hetzner.

If the domain of my Nextcloud instance is e.g. `nx123456\\.your-storageshare\\.de` and if the IP address of my vps is e.g. (fictional) `123.456.789.123`, what should I do next to connect these services so that I can use my collabora server with my Nextcloud instance?
