clean up
This commit is contained in:
@@ -9,6 +9,14 @@ Clone the repository
|
||||
git clone --depth 1 https://gitea.virtonline.eu/2HoursProject/nexus-timer.git
|
||||
cd nexus-timer
|
||||
```
|
||||
If you will run the container on the docker network `traefik` find its IP subnet
|
||||
```bash
|
||||
docker network inspect traefik --format '{{(index .IPAM.Config 0).Subnet}}'
|
||||
```
|
||||
Set the subnet in the `nginx.conf`. For example:
|
||||
```bash
|
||||
set_real_ip_from 172.22.0.0/16
|
||||
```
|
||||
Build the docker image
|
||||
```bash
|
||||
docker build -t virt-nexus-timer .
|
||||
@@ -25,7 +33,7 @@ View the example service definition:
|
||||
cat systemd/virt-nexus-timer.service
|
||||
```
|
||||
### Create the systemd service
|
||||
Use the editor to create or overwrite the service:
|
||||
The editor opens to create or overwrite the service:
|
||||
```bash
|
||||
sudo systemctl edit --force --full virt-nexus-timer.service
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user