Updated docker-compose
This commit is contained in:
		
							parent
							
								
									483e38caab
								
							
						
					
					
						commit
						1c8080b418
					
				@ -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:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user