diff options
author | 2024-02-12 14:43:38 +0000 | |
---|---|---|
committer | 2024-02-12 14:43:38 +0000 | |
commit | f0e04fd3edf5ba4c33b135536651bdfe131af179 (patch) | |
tree | 4680536655b092d5c97464d4921733edda24ef18 /docker-compose.yaml | |
parent | Use KUBECONFIG env var to determine where to look for kube config file (diff) |
Add a docker-compose file for this project
By setting KUBECONFIG to /app/config this allows users to add their kubeconfig file to the root of the project and it will get picked up by the dcoker comopse volume, and work for king arthur commands
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r-- | docker-compose.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..829c1e7 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,11 @@ +services: + bot: + restart: "no" + build: . + volumes: + - .:/bot:ro + tty: true + env_file: + - .env + environment: + KUBECONFIG: /app/config |