Files
baclight/docker-compose.yaml
T

58 lines
1.3 KiB
YAML
Raw Normal View History

2021-09-26 14:32:21 -07:00
services:
web:
build:
2026-05-06 13:28:16 -04:00
context: .
2021-09-26 14:32:21 -07:00
volumes:
2026-05-06 13:28:16 -04:00
- .:/rails
2021-09-26 14:32:21 -07:00
ports:
2025-11-24 08:22:44 -05:00
- "3002:3002"
2021-09-26 15:51:15 -07:00
environment:
- HISTFILE=/usr/src/app/log/.bash_history
2026-05-06 13:28:16 -04:00
- RAILS_ENV=production
- PUID=1000
- PGID=100
2025-11-24 08:22:44 -05:00
tty: true
stdin_open: true
2026-05-06 13:28:16 -04:00
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:3002/up"]
# interval: 5s
# timeout: 3s
# retries: 10
# start_period: 10s
2026-04-17 15:35:10 -04:00
# depends_on:
# db:
# condition: service_healthy
# db:
# build:
# context: .
# dockerfile: Dockerfile.db
# volumes:
# - ./mssql-data:/var/opt/mssql
# ports:
# - "1434:1434"
# healthcheck:
# test: ["CMD", "/opt/mssql-tools/bin/sqlcmd", "-Usa", "-PBr1tt0nPassw0rd", "-Q", "select 1"]
# interval: 10s
# timeout: 3s
# retries: 10
# start_period: 10s
2026-04-20 12:12:52 -04:00
# cron:
# build:
# context: ./
# dockerfile: development3.Dockerfile
# command: ./bin/cron-entrypoint
2026-03-03 22:53:21 -05:00
# volumes:
2026-04-20 12:12:52 -04:00
# - .:/usr/src/app
# - bundle:/usr/local/bundle
# environment:
# - RAILS_ENV=development
# - PUID=1000
2026-05-06 13:28:16 -04:00
# - PGID=100
2026-04-20 12:12:52 -04:00
# depends_on:
2026-05-06 13:28:16 -04:00
# web:
# condition: service_healthy
2026-04-20 12:12:52 -04:00
# - db
2021-09-26 14:32:21 -07:00
volumes:
2026-03-03 22:53:21 -05:00
# redis_data:
2021-09-26 14:32:21 -07:00
bundle: