This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | version: '3.5' | |
| services: | |
| app: | |
| build: . | |
| volumes: | |
| - '.:/app' | |
| ports: | |
| - '3000:80' | |
| environment: | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | FROM ruby:2.3-onbuild | |
| VOLUME /opt/postal/config | |
| ENV LOG_TO_STDOUT 1 | |
| ENV AM_CONFIG_ROOT /opt/postal/config | |
| RUN gem install procodile | |
| RUN apt-get update -qq && apt-get install -yqq nodejs |