Files

64 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2021-09-26 14:32:21 -07:00
services:
web:
build:
context: ./
2026-05-06 15:07:57 -04:00
dockerfile: development.Dockerfile
2025-11-24 08:22:44 -05:00
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
2026-05-06 13:28:16 -04:00
- 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: ./
2026-05-06 15:07:57 -04:00
# dockerfile: development.Dockerfile
2026-04-20 12:12:52 -04:00
# 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: