Updated docker-compose

This commit is contained in:
Luiz F Picolo 2022-06-16 08:04:46 -04:00
parent 483e38caab
commit 1c8080b418

View File

@ -7,7 +7,11 @@ services:
restart: unless-stopped restart: unless-stopped
tty: true tty: true
container_name: app container_name: app
command: bundle exec ruby app.rb -o 0.0.0.0 -p 4567 command: >
bash -c "yarn --cwd public/ &&
whenever -w &&
/etc/init.d/cron restart &&
bundle exec ruby app.rb -o 0.0.0.0 -p 4567"
ports: ports:
- "4567:4567" - "4567:4567"
volumes: volumes: