From 50e0a728a3f955067fa5d2e89329b0f22acbab00 Mon Sep 17 00:00:00 2001 From: karmaking Date: Tue, 10 Dec 2024 14:28:42 +0100 Subject: [PATCH] add docker compose file --- .env-docker.example | 2 ++ dockercompose.yml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .env-docker.example create mode 100644 dockercompose.yml diff --git a/.env-docker.example b/.env-docker.example new file mode 100644 index 0000000..c644668 --- /dev/null +++ b/.env-docker.example @@ -0,0 +1,2 @@ + +VITE_OBP_REDIS_URL=redis://host.docker.internal:6379 diff --git a/dockercompose.yml b/dockercompose.yml new file mode 100644 index 0000000..59646ad --- /dev/null +++ b/dockercompose.yml @@ -0,0 +1,16 @@ +services: + backend: + image: "docker.io/openbankproject/api-explorer-ii:latest" + ports: + - "8085:8085" + env_file: + - /path/to/.env-docker + extra_hosts: + - "host.docker.internal:host-gateway" + + frontend: + image: "docker.io/openbankproject/api-explorer-ii-nginx:latest" + env_file: + - /path/to/.env-docker + ports: + - "8095:8080"