This commit is contained in:
Sebastien Riviere
2026-02-22 01:50:26 +01:00
parent 405b2934c8
commit 0196bd7714
7 changed files with 21 additions and 21 deletions

View File

@@ -33,14 +33,14 @@ Use `docker compose -f docker-compose.dev.yaml up` to start the containers of th
### Deployment
#### Update the server
To update the server, you have to build the images of the containers on your computer and then push them on the docker of `git.rezel.net`. If it isn't the case, you have to login to the docker of git.rezel.net. To do that, go on `git.rezel.net` and create an access token for your account allowing writing package, repository and user, and save the token password. Then on your machine run `docker login git.rezel.net` and connect with your token password. Now, you can build and push the latest images on the remote by running `./scripts/build_push_images.sh`.
#### Access the LXC container
The server run on a rezel LXC container you can access [here](https://hosting.rezel.net/vms). Ask persmissions to an admin of the container to be able to connect to it via ssh : `ssh admin@2a09:6847:fa10:1410::207`.
#### Update images
If it isn't the case, you have to login to the docker of git.rezel.net. To do that, go on `git.rezel.net` and create an access token for your account allowing writing package, repository and user, and save the token password. Then on your machine run `docker login git.rezel.net` and connect with your token password. Now, you can build and push the latest images on the remote by running `./scripts/build_push_images.sh`. Then connect to the LXC container, go in the `traque/` folder and run `docker compose pull` to pull the images.
#### Start the server
Run `docker compose -f docker-compose.yaml up -d` on the LXC container to start the containers. The website will be accesible on `traque.rezel.net`.
Access the LCX container, go in the `traque/` folder and run `docker compose up -d` to start the containers. The website will be accesible on `traque.rezel.net`.