2023-09-19 09:03:46 +00:00
|
|
|
# Docker
|
|
|
|
|
|
|
|
## Test it
|
|
|
|
|
2023-09-19 09:10:00 +00:00
|
|
|
All backend services of Websoft9 is packaged to Docker image, just these steps you can running them:
|
2023-09-19 09:03:46 +00:00
|
|
|
|
|
|
|
```
|
2023-09-19 09:10:00 +00:00
|
|
|
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh && sudo systemctl enable docker && sudo systemctl start docker
|
2023-09-19 09:03:46 +00:00
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
## Develop it
|
|
|
|
|
|
|
|
The folder **apphub, deployment, git, proxy** stored development files, and used for:
|
|
|
|
|
|
|
|
- Optimize dockerfile
|
|
|
|
- Release version
|
|
|
|
- Build docker image by Githuh action
|