Compare commits

...

4 Commits

Author SHA1 Message Date
42d1f6276a Merge branch 'feature/fixing-deploy-path' into develop 2026-01-09 18:51:48 +01:00
d17efdc156 (ver) web-app: version bump 2026-01-09 18:51:40 +01:00
de97ce744f (refactor) Move hosts file copy from volume mount to Dockerfile
Bake the custom hosts file into the Docker image instead of mounting it as a volume. This simplifies deployment configuration and makes the image more self-contained.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 18:51:05 +01:00
c9cc32b811 (config) Convert docker-compose paths to absolute for Portainer compatibility
Changed relative volume paths to absolute paths and updated image reference to use full registry path. This enables deployment via Portainer which doesn't have working directory context.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 18:49:00 +01:00
4 changed files with 9 additions and 8 deletions

View File

@@ -13,12 +13,10 @@ networks:
services:
web-app:
image: utility-bills-tracker:${IMAGE_VERSION}
image: registry.budakova.org/knee-cola/utility-bills-tracker:${IMAGE_VERSION}
networks:
- traefik-network
- util-bills-mongo-network
volumes:
- ./web-app/etc/hosts/:/etc/hosts
environment:
MONGODB_URI: mongodb://rezije.app:w4z4piJBgCdAm4tpawqB@mongo:27017/utility-bills
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
@@ -55,8 +53,8 @@ services:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
volumes:
- ./mongo-volume:/data/db
- ./mongo-backup:/backup
- /home/knee-cola/docker/evidencija-rezija/mongo-volume:/data/db
- /home/knee-cola/docker/evidencija-rezija/mongo-backup:/backup
networks:
- util-bills-mongo-network
mongo-express:

View File

@@ -12,6 +12,9 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
# copy custom hosts file to avoid issues with some auth providers
COPY ./etc/hosts /etc/hosts
# Copy package files
COPY ./package.json ./package-lock.json ./

View File

@@ -1,11 +1,11 @@
{
"name": "evidencija-rezija",
"version": "2.21.0",
"version": "2.21.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"version": "2.21.0",
"version": "2.21.1",
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",

View File

@@ -58,5 +58,5 @@
"engines": {
"node": ">=18.17.0"
},
"version": "2.21.0"
"version": "2.21.1"
}