From 3eb8cd06f9ebd7877ac0cd964e63be8f178e3558 Mon Sep 17 00:00:00 2001 From: ellwoodb Date: Tue, 23 Jul 2024 20:54:08 +0200 Subject: [PATCH] Added docker-compose.yml --- docker-compose.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8afd7b0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,33 @@ +services: + # Still need to import .db files and json folder (see Discord) manually. + app-backend: + image: stocknear/app-backend + build: ./app + ports: + - 8000:8000 + depends_on: + - redis + fastify-backend: + image: stocknear/fastify-backend + build: ./fastify + ports: + - 2000:2000 + environment: + - FMP_API_KEY="" + - MIXPANEL_API_KEY="" # If this is not set to a valid value the app will crash. You can comment out l. 25 and l. 58 in fastify/app.js to get it to work. + - TWITCH_API_KEY="" + - TWITCH_SECRET_KEY="" + depends_on: + - pocketbase + redis: + image: redis:6.2-alpine + ports: + - '6379:6379' + # UNOFFICIAL IMAGE! To do it correctly either set up local instance or make own Dockerfile until official Docker Image is out. + # Still need to import schema.json manually. Is there an automated way? + pocketbase: + image: ghcr.io/muchobien/pocketbase:latest + ports: + - "8090:8090" + volumes: + - ./pocketbase_data:/pb_data \ No newline at end of file