Files
baclight/compose.yaml
T

47 lines
984 B
YAML
Raw Normal View History

2021-09-26 14:32:21 -07:00
services:
web:
build:
context: ./
2025-11-24 08:22:44 -05:00
dockerfile: development3.Dockerfile
command: bash -c "rm -f tmp/pids/server.pid && bin/dev"
2021-09-26 14:32:21 -07:00
volumes:
- .:/usr/src/app
- bundle:/usr/local/bundle
ports:
2025-11-24 08:22:44 -05:00
- "3002:3002"
2021-09-26 14:32:21 -07:00
env_file:
- .env
2021-09-26 15:51:15 -07:00
environment:
- HISTFILE=/usr/src/app/log/.bash_history
2025-11-24 08:22:44 -05:00
- RAILS_ENV=development
- TAILWIND_POLLING=true
tty: true
stdin_open: true
2022-01-17 10:01:12 -08:00
depends_on:
2023-05-04 14:16:25 -07:00
db:
condition: service_healthy
redis:
condition: service_started
2021-09-26 14:32:21 -07:00
db:
2025-11-24 08:22:44 -05:00
build:
context: .
dockerfile: Dockerfile.db
2021-09-26 14:32:21 -07:00
volumes:
2025-11-24 08:22:44 -05:00
- ./mssql-data:/var/opt/mssql
ports:
- "1434:1434"
2023-05-04 14:16:25 -07:00
healthcheck:
2025-11-24 08:22:44 -05:00
test: ["CMD", "/opt/mssql-tools/bin/sqlcmd", "-Usa", "-PBr1tt0nPassw0rd", "-Q", "select 1"]
interval: 10s
timeout: 3s
retries: 10
start_period: 10s
2021-09-26 14:32:21 -07:00
redis:
image: redis
volumes:
- redis_data:/data
volumes:
redis_data:
bundle: