Last active
March 11, 2019 11:24
-
-
Save robrua/9a89b908e2a6c3848cc4ab3ec5a0638e to your computer and use it in GitHub Desktop.
How to change the default Kernel configuration when using Docker
This file contains 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" | |
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