Updated docker-compose

This commit is contained in:
Luiz F Picolo 2022-06-16 08:04:46 -04:00
parent 483e38caab
commit 1c8080b418
1 changed files with 5 additions and 1 deletions

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: