Last edited by Jonas Leder
Install of url_shorter_docker
- Install Docker:
curl -sSL https://get.docker.com/ | CHANNEL=stable sh
systemctl enable docker.service
systemctl start docker.service
- Install Docker-Compose
curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- Download the Docker-Compose file into a new folder:
wget https://gitlab.jonasled.de/jonasled/url_shorter_docker/raw/master/docker-compose.yml
- Edit the downloaded file
- Run the Container. To do so run in the Folder, with the previously downloaded file
docker-compose up -d
- Now Your Container should be running and available on port 5000
- Setup SSL with a reverse proxy (like apache, nginx)