This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Linux
Ryan Kuba edited this page Oct 19, 2019
·
5 revisions
In order to use Taisun the host machine will need to be running Docker (https://www.docker.com/)
Su up to root:
sudo su
Then run the following blob:
apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
apt-get update && apt-get install docker-ce -y
You can confirm Docker is running with:
docker -v
Docker version 17.09.0-ce, build afdb6d4
Su up to root:
sudo su
Then run the following blob:
apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable" && \
apt-get update && apt-get install docker-ce -y
You can confirm Docker is running with:
docker -v
Docker version 17.09.0-ce, build afdb6d4
Detailed instructions can be found in the Docker Documentation for many distributions and operating systems:
https://docs.docker.com/engine/installation/
The Taisun application runs inside of a Docker container so you will simply need to run the container:
sudo docker run --name taisun -d \
-p 3000:3000 \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
linuxserver/taisun:latest
Here is an example for running with Docker Compose:
version: '3.7'
services:
taisun:
image: linuxserver/taisun
container_name: taisun
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 3000:3000
network_mode: bridge
restart: unless-stopped
Substitute port 3000 with any port you want, the application runs inside the Docker container on port 80.
Taisun can be accessed from: