-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Which project is this issue related to?
@not3/ui
Version
v2.0.1
Describe the bug
When I attempt to use the software, I get an error that states "API is not compatible with this version of the client." In the browser devtools console, it says the following:
API is not compatible with this version of the client. BmWXuyZq.js:729
API version: undefined BmWXuyZq.js:729
Compatible versions: >=2.0.0 <3.0.0 BmWXuyZq.js:729
I am using a docker-compose file based on the Simple configuration from the README file. Please let me know if anything else is needed to diagnose the issue; Sorry if I am missing something obvious.
Steps to reproduce
- Use the following
docker-compose.ymlon Rocky Linux 9:
x-restart: &restart
restart: unless-stopped
services:
api:
image: ghcr.io/not-three/api:2.0.1
<<: *restart
depends_on:
- db
ports:
- 3001:3001
environment:
CORS_ENABLED: true
CORS_ORIGIN: http://localhost:3001
DATABASE_MODE: pg
DATABASE_HOST: db
DATABASE_USERNAME: db
DATABASE_PASSWORD: db
DATABASE_NAME: db
draw:
image: ghcr.io/not-three/draw:latest
<<: *restart
ports:
- 4500:80
ui:
image: ghcr.io/not-three/ui:2.0.1
<<: *restart
ports:
- 3000:3000
environment:
API_URL: http://localhost:3001
DRAW_URL: http://localhost:4500
TERMS_OF_SERVICE_URL: https://example.com
db:
image: postgres:14.5
<<: *restart
environment:
POSTGRES_PASSWORD: db
POSTGRES_USER: db
POSTGRES_DB: db
volumes:
- db:/var/lib/postgresql/data
volumes:
db:- Run
docker compose up - Have nginx listen on port 3000 to serve the web page
- Go to the webpage (for my case, https://paste.tyler.zip)
- The error appears, and I am not able to use the service.
Expected behavior
No response
Error stacktrace (if applicable)
Additional context
