summaryrefslogtreecommitdiff
path: root/gathio-docker
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2024-07-31 22:45:39 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2024-08-01 00:25:04 +0100
commit2fbb753c1eb715b31034f5ce851f6abceaeb9309 (patch)
tree15a57f487cd94a13ce363164f3d9e1ff87626bc5 /gathio-docker
parent04b386b5eec06549c989ed81aaf2eb9b76e49b87 (diff)
Add GitHub CI files to publish Docker container
Diffstat (limited to 'gathio-docker')
-rw-r--r--gathio-docker/docker-compose.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/gathio-docker/docker-compose.yml b/gathio-docker/docker-compose.yml
new file mode 100644
index 0000000..5a8a0d9
--- /dev/null
+++ b/gathio-docker/docker-compose.yml
@@ -0,0 +1,21 @@
+volumes:
+ mongodb_data_db:
+
+services:
+ gathio:
+ container_name: gathio-app
+ image: ghcr.io/lowercasename/gathio:latest
+ links:
+ - mongo
+ ports:
+ - 3000:3000
+ volumes:
+ # The path to Gathio's config folder - change to match your system
+ - ./gathio-docker/config:/app/config
+ # The path to Gathio's user-uploaded event images folder - change to match your system
+ - ./gathio-docker/images:/app/public/events
+ mongo:
+ container_name: gathio-db
+ image: mongo:latest
+ volumes:
+ - mongodb_data_db:/data/db