Skip to content

Instantly share code, notes, and snippets.

@wmurphyrd
Created May 17, 2021 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wmurphyrd/0b1dd0cca9fd5462a9a394e5cafe37c1 to your computer and use it in GitHub Desktop.
Save wmurphyrd/0b1dd0cca9fd5462a9a394e5cafe37c1 to your computer and use it in GitHub Desktop.
Immers Docker localdev

If using the Immers server docker container from https://github.com/immers-space/immers-app for local development, you'll need to:

  1. add this docker-compose.override.yml in the same directory as the docker-compose.yml
  2. Provision self signed certs
  3. Update the volumes property in docker-compose.override.yml to point to your self-signed certs location on your host machine
version: "3.8"
services:
immer:
image: immersspace/immers:latest
environment:
NODE_ENV: 'development'
NODE_TLS_REJECT_UNAUTHORIZED: "0"
ports:
- 8081:8081
restart: 'no'
volumes:
- /home/path/to/your/self/signed/certs:/usr/src/immers/certs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment