52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
|
|
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:
|