(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>
This commit is contained in:
2026-01-09 18:49:00 +01:00
parent 528c433fce
commit c9cc32b811

View File

@@ -13,12 +13,12 @@ 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
- /home/knee-cola/docker/evidencija-rezija/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 +55,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: