websoft9/docker
2023-12-26 17:50:34 +08:00
..
apphub Update Dockerfile 2023-12-26 17:50:34 +08:00
deployment hide websoft9 containers 2023-11-03 16:06:27 +08:00
git test docker build 2023-12-08 11:04:22 +08:00
proxy build proxy 2023-12-11 10:57:44 +08:00
.env rc 2023-10-16 15:14:43 +08:00
daemon.json docker daemon 2023-10-06 16:45:57 +08:00
docker-compose-dev.yml rc 2023-11-03 16:07:14 +08:00
docker-compose.yml restart docker only install 2023-12-07 17:18:32 +08:00
README.md apphub 2023-10-10 18:40:59 +08:00

Docker

Test it

All backend services of Websoft9 is packaged to Docker image, just these steps you can running them:

curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh && sudo systemctl enable docker && sudo systemctl start docker
sudo docker network create websoft9
wget https://websoft9.github.io/websoft9/docker/.env
wget https://websoft9.github.io/websoft9/docker/docker-compose.yml
sudo docker compose -p websoft9 up -d

If you want only want to change to development, you should execute following commands:

sudo docker compose -p websoft9 down -v
wget https://websoft9.github.io/websoft9/docker/docker-compose-dev.yml
# /data/source is development sources path in host
docker compose -f docker-compose-dev.yml -p websoft9 up -d --build

Develop it

The folder apphub, deployment, git, proxy stored development files, and used for:

  • Optimize dockerfile
  • Release version
  • Build docker image by Githuh action