docker compose for full containers suite
CI / scan_ruby (pull_request) Failing after 34s
CI / lint (pull_request) Failing after 18s
CI / test (pull_request) Failing after 43s
Docker / build-and-test-image (pull_request) Failing after 14m4s

This commit is contained in:
Jason Jordan
2026-07-23 10:35:39 -04:00
parent 56009fa158
commit 8d881ab5f4
2 changed files with 127 additions and 0 deletions
+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: