How to Install Gotify Notification Server With Docker Compose
Learn How to Install Gotify Notification Server With Ease Using Docker Compose
Gotify is a server for sending and receiving notifications which comes in handy in many use cases and in this article we will see how to install a Gotify server using Docker Compose.
Table of contents
- Setup Docker Compose File
- Start and Verification
- Reverse Proxy Deployment
- Docker Compose
- A text editor of your choice
Setup Docker Compose File
We will start by creating our empty
Now we need to describe our service in the file, we can put the following content:
This file will create the Gotify server with a persisted volume in the working directory and it will be exposing the
8000 port locally.
We may need to change the timezone to suit our timing.
Start and Verification
docker-compose.yml file is set up, we can start our server:
docker-compose up -d
This will create the persistence
data folder and create a Gotify server instance in detach mode.
We can verify that our instance is working by checking its status using the following command:
docker ps -a | grep gotify
Now we need to install a client in our preferred device like Android, or just the webpage at
Default credentials are, username
admin and password
Reverse Proxy Deployment
If we are running this behind a reverse proxy like NGINX we can use the following configuration in order for it to work properly:
Like this, we have set up and verified our self-hosted notification server using Docker Compose.
- Gotify website
- Gotify source code
As always, I hope you learned something.
Found this useful? feel free to share it with your friends.
Join the newsletter from here to notify you of new posts and updates.
Like the post? consider buying us a coffee ❤️.