Beta #1

Merged
json merged 25 commits from beta into main 2026-07-23 11:49:10 -04:00
2 changed files with 127 additions and 0 deletions
Showing only changes of commit 8d881ab5f4 - Show all commits
@@ -0,0 +1,52 @@
services:
web:
image: ghcr.io/britton-benefits/baclight:beta
ports:
- "3002:3002"
environment:
- HISTFILE=/usr/src/app/log/.bash_history
- RAILS_ENV=production
- RAILS_SERVE_STATIC_FILES=true
- PUID=1000
- PGID=1000
- JASPER_SERVER_HOST=jasper
tty: true
stdin_open: true
restart: always
cron:
image: ghcr.io/britton-benefits/baclight:beta
command: ./bin/cron-entrypoint
user: root
environment:
- RAILS_ENV=production
# - PUID=1000
# - PGID=1000
restart: always
depends_on:
- web
jobs:
image: ghcr.io/britton-benefits/baclight:beta
command: ./bin/jobs-entrypoint
# user: rails
environment:
- RAILS_ENV=production
- PUID=1000
- PGID=1000
deploy:
replicas: 2
restart_policy:
condition: on-failure
restart: always
depends_on:
- web
jasper:
image: ghcr.io/britton-benefits/jasper:beta
ports:
- "8080:8080"
# volumes:
# - ./jasper_reports/build:/usr/src/app/build
# - ./jasper_reports/compiled_war:/app/compiled_war
# - ./jasper_reports/web/reports:/usr/local/tomcat/webapps/app/web/reports
restart: always
# volumes:
# bundle:
+75
View File
@@ -0,0 +1,75 @@
services:
web:
build:
context: ./baclight/
dockerfile: development.Dockerfile
container_name: baclight
volumes:
- ./baclight/:/usr/src/app
- bundle:/usr/local/bundle
ports:
- "3002:3002"
environment:
- HISTFILE=/usr/src/app/log/.bash_history
- RAILS_ENV=development
# - RAILS_ENV=production
- RAILS_SERVE_STATIC_FILES=true
- TAILWIND_POLLING=true
- PUID=1000
- PGID=100
- JASPER_SERVER_HOST=jasper
tty: true
stdin_open: true
networks:
- britton_network
cron:
build:
context: ./baclight/
dockerfile: development.Dockerfile
command: ./bin/cron-entrypoint
volumes:
- ./baclight/:/usr/src/app
- bundle:/usr/local/bundle
environment:
- RAILS_ENV=development
- PUID=1000
- PGID=100
depends_on:
- web
jobs:
build:
context: ./baclight/
dockerfile: development.Dockerfile
command: ./bin/jobs-entrypoint
volumes:
- ./baclight/:/usr/src/app
- bundle:/usr/local/bundle
environment:
- RAILS_ENV=development
- PUID=1000
- PGID=100
# deploy:
# replicas: 2
# restart_policy:
# condition: on-failure
depends_on:
- web
jasper:
build: ./jasper_reports/
ports:
- "8080:8080"
volumes:
# - ./jasper_reports/build:/usr/src/app/build
- ./jasper_reports/compiled_war:/app/compiled_war
- ./jasper_reports/web/reports:/usr/local/tomcat/webapps/app/web/reports
networks:
- britton_network
# restart: always
networks:
britton_network:
external: true
volumes:
bundle: