Skip to content

Instantly share code, notes, and snippets.

@robrua
Last active March 11, 2019 11:24
Show Gist options
  • Save robrua/9a89b908e2a6c3848cc4ab3ec5a0638e to your computer and use it in GitHub Desktop.
Save robrua/9a89b908e2a6c3848cc4ab3ec5a0638e to your computer and use it in GitHub Desktop.
How to change the default Kernel configuration when using Docker
version: "3"
services:
kernel:
container_name: kernel
image: merakianalytics/kernel:base
ports:
- 80:8080
environment:
- RIOT_API_KEY=${RIOT_API_KEY}
volumes:
- /path/to/your/kernel-config.json:/opt/meraki/kernel-config.json
restart: always
networks:
- kernel
swagger:
container_name: kernel_swagger
image: swaggerapi/swagger-ui
ports:
- 12357:8080
environment:
- API_URL=http://localhost/lol/swagger.json
restart: always
networks:
- kernel
depends_on:
- kernel
networks:
kernel:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment