mirror of
https://github.com/rodneyosodo/homelab.git
synced 2026-08-07 07:15:03 +00:00
feat(docker): add bajeti
Continuous Integration / terraform (bohr) (push) Has been cancelled
Continuous Integration / terraform (yala) (push) Has been cancelled
Continuous Integration / ansible (push) Has been cancelled
Continuous Integration / terraform (galana) (push) Has been cancelled
Continuous Integration / terraform (tana) (push) Has been cancelled
Continuous Integration / terraform (turkwel) (push) Has been cancelled
Continuous Integration / pre-commit (push) Has been cancelled
Continuous Integration / docker-compose (push) Has been cancelled
Continuous Integration / terraform (bohr) (push) Has been cancelled
Continuous Integration / terraform (yala) (push) Has been cancelled
Continuous Integration / ansible (push) Has been cancelled
Continuous Integration / terraform (galana) (push) Has been cancelled
Continuous Integration / terraform (tana) (push) Has been cancelled
Continuous Integration / terraform (turkwel) (push) Has been cancelled
Continuous Integration / pre-commit (push) Has been cancelled
Continuous Integration / docker-compose (push) Has been cancelled
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
services:
|
||||
bajeti-backend:
|
||||
container_name: bajeti-backend
|
||||
image: ghcr.io/rodneyosodo/bajeti/backend:0.2.1
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- homelab-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
ports:
|
||||
- 6020:6020
|
||||
volumes:
|
||||
- ~/docker-volumes/bajeti/db:/app/data
|
||||
environment:
|
||||
BAJETI_PORT: 6020
|
||||
BAJETI_DB_FILE_NAME: /app/data/bajeti.db
|
||||
BAJETI_FRONTEND_URL: ${BAJETI_FRONTEND_URL}
|
||||
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
|
||||
BETTER_AUTH_URL: ${BETTER_AUTH_URL}
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"wget -qO- http://127.0.0.1:6020/ | grep -qc 'Bajeti API'",
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
bajeti-dashboard:
|
||||
container_name: bajeti-dashboard
|
||||
image: ghcr.io/rodneyosodo/bajeti/dashboard:0.2.1
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- homelab-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
ports:
|
||||
- 6021:80
|
||||
environment:
|
||||
VITE_BETTER_AUTH_URL: ${VITE_BETTER_AUTH_URL}
|
||||
depends_on:
|
||||
bajeti-backend:
|
||||
condition: service_healthy
|
||||
@@ -103,3 +103,6 @@ include:
|
||||
- path: ./convertx/docker-compose.yaml
|
||||
project_directory: ..
|
||||
env_file: .env
|
||||
- path: ./bajeti/docker-compose.yaml
|
||||
project_directory: ..
|
||||
env_file: .env
|
||||
|
||||
Reference in New Issue
Block a user