aboutsummaryrefslogtreecommitdiffstats
path: root/compose.yaml
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-12 17:18:19 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-12 17:18:19 +0100
commit551dbd02ad5dc98c6a0ea3030765c00a9ac311e7 (patch)
tree50c6d17131a867dfb380cf82a2bea71cc315f26c /compose.yaml
parent6b078722429f738cabb54a46d7dda47238d5de0b (diff)
Adding rough docker files for Coolify test
Diffstat (limited to 'compose.yaml')
-rw-r--r--compose.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml
new file mode 100644
index 0000000..7bcb207
--- /dev/null
+++ b/compose.yaml
@@ -0,0 +1,22 @@
+services:
+ web:
+ build: .
+ command: gunicorn config.wsgi:application --bind 0.0.0.0:8000
+ volumes:
+ - .:/app
+ ports:
+ - "3000:3000"
+ env_file:
+ - .env
+ depends_on:
+ - db
+
+ db:
+ image: postgres:14
+ volumes:
+ - postgres_data:/var/lib/postgresql/data/
+ environment:
+ - POSTGRES_PASSWORD=postgres
+
+volumes:
+ postgres_data: