websoft9/docker
qiaofeng1227 8bf861e52f
Some checks are pending
Build image to DockerHub / setup (push) Waiting to run
Build image to DockerHub / build (push) Blocked by required conditions
Update Dockerfile
2024-11-23 13:55:47 +08:00
..
apphub Update Dockerfile 2024-11-21 10:39:17 +08:00
deployment portainer 2024-07-29 11:02:59 +08:00
git update websoft9 containers 2024-03-26 13:47:18 +08:00
proxy Update Dockerfile 2024-11-23 13:55:47 +08:00
.env release 2024-11-04 17:28:13 +08:00
cloudflare.js Update cloudflare.js 2024-10-23 09:13:24 +08:00
daemon.json websoft9 2024-10-23 12:04:38 +08:00
docker-compose-dev.yml 2.1.10 rc 2024-07-25 14:40:18 +08:00
docker-compose.yml improve micro service 2024-07-25 08:39:06 +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