Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 939 Bytes

Docker.md

File metadata and controls

33 lines (27 loc) · 939 Bytes

Setup Sharedlists with Docker

Docker Status

Development Setup

  1. Copy config/database.yml.SAMPLE to config/database.yml and run:
    docker-compose -f docker-compose-dev.yml run --rm app bundle
    docker-compose -f docker-compose-dev.yml run --rm app rails db:setup
    
  2. Run docker-compose:
    docker-compose -f docker-compose-dev.yml up
    
  3. Open your favorite browser and open the web browser at http://localhost:3000/
  4. Login using the default credentials: [email protected]/secret

Production Setup

  1. Create an .env file and define some variables:
    SHAREDLISTS_DB_PASSWORD=
    SHAREDLISTS_SECRET_KEY_BASE=
    MAILER_DOMAIN=
    MARIADB_ROOT_PASSWORD=
    
  2. Run docker-compose:
    docker-compose up -d