mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-04-10 16:30:18 +02:00
Fixs
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user