! Merge branch 'dev'
All checks were successful
Build docker image / build_docker_image (push) Successful in 3m37s

This commit is contained in:
2025-05-03 11:01:39 +02:00
3 changed files with 23 additions and 7 deletions

View File

@@ -1,14 +1,20 @@
#!/bin/bash #!/bin/bash
echo This is a sample build script, if the workflow cannot be used. # ---------------------------------------------------------------------------
echo Please customize the repository address/name for your own. # setting constants
PACKAGE_REPOSITORY=proxima.goliath.hu/proxima/backend PACKAGE_REPOSITORY=proxima.goliath.hu/proxima/backend
BUILD_TAG=nginx BUILD_TAG=nginx
UID=$(id -u) UID=$(id -u)
GID=$(id -g) GID=$(id -g)
# ---------------------------------------------------------------------------
clear
echo This is a sample build script, if the workflow cannot be used.
echo Please customize the repository address/name for your own.
echo
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
echo Building "${BUILD_TAG}" package .. echo Building "${BUILD_TAG}" package ..
echo echo
@@ -53,6 +59,5 @@ echo Changing back to build directory...
popd > /dev/null popd > /dev/null
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
echo Done. echo Done.

View File

@@ -110,13 +110,13 @@ docker run \
#### 6.2 Running with docker compose #### 6.2 Running with docker compose
#### 6.2.1 Create docker compose file `docker-compose.yaml`: #### 6.2.1 Create docker compose file [`docker-compose.yaml`](res/docker-compose.yaml):
```yaml ```yaml
--- ---
services: services:
backend: backend:
image: git.magrathea.hu/proxima/backend:latest image: proxima.goliath.hu/proxima/backend:latest
container_name: backend container_name: backend
ports: ports:
- "9000:9000" - "9000:9000"

11
res/docker-compose.yaml Normal file
View File

@@ -0,0 +1,11 @@
---
services:
backend:
image: proxima.goliath.hu/proxima/backend:latest
container_name: backend
ports:
- "9000:9000"
volumes:
- "./volumes/backend/env/.env.config:/app/Backend/.env.config"
- "./volumes/backend/database/:/app/Backend/database/sqlite/"
restart: unless-stopped