add docker compose file

This commit is contained in:
karmaking 2024-12-10 14:28:42 +01:00
parent 9cc299a80c
commit 50e0a728a3
2 changed files with 18 additions and 0 deletions

2
.env-docker.example Normal file
View File

@ -0,0 +1,2 @@
<same as .env.example, adapt the following:>
VITE_OBP_REDIS_URL=redis://host.docker.internal:6379

16
dockercompose.yml Normal file
View File

@ -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"