aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-02-12 14:43:38 +0000
committerGravatar Chris Lovering <[email protected]>2024-02-12 14:43:38 +0000
commitf0e04fd3edf5ba4c33b135536651bdfe131af179 (patch)
tree4680536655b092d5c97464d4921733edda24ef18 /docker-compose.yaml
parentUse 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.yaml11
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