Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.3 KB

docker.md

File metadata and controls

47 lines (31 loc) · 1.3 KB

Docker

Local Development

  1. Install Docker Desktop
  2. Run npm run docker:start
  3. Run npm run start:devtools in another tab
    • If you don't do this, you'll see port 8098 failures in the browser console when the devtools fail to connect
  4. Go to http://localhost:8080 in your browser

You can connect to the db via postgresql://cuttlesworth:p4ssw0rd!@database:5432/cuttle locally, and query or manage migrations with a database administration tool like DBeaver.

Architecture

Client Container

Server Container

  • Runs Sails.js
  • Hostname of server:1337
  • Connects to Postgres via port 5432

Postgres Container

Diagram

Architectural Diagram

Diagram can be edited on draw.io.