Hey, I'm facing for a new issue.
I deployed evidence with docker compose, and everything seems ok, but when I'm going to settings to change database, when I choose postgres or else, I put my credentials, when I save them, I got a 403 forbidden error, and on log from chrome I have this:
POST https://my-domain.com/api/settings.json 403 (Forbidden)
But when I'm clickin on thus url i get this:
{
"settings": {
"database": "duckdb",
"credentials": {
"filename": "needful_things.duckdb",
"gitignoreDuckdb": null
}
},
"gitIgnore": ".evidence/template\n.svelte-kit\nbuild\nnode_modules\n.DS_Store\n.vscode/settings.json\n"
}
here is my docker-compose file:
version: "3.3"
services:
evidence:
image: evidencedev/devenv:ubuntu
command: "--init"
restart: always
environment:
EVIDENCE_DATABASE: evidence
EVIDENCE_POSTGRES_USER: postgres
EVIDENCE_POSTGRES_HOST: postgres
EVIDENCE_POSTGRES_DATABASE: evidence
EVIDENCE_POSTGRES_PASSWORD: ${ADMIN_PASSWORD}
EVIDENCE_POSTGRES_PORT: 5432
volumes:
- "./my-project:/evidence-workspace"
ports:
- "172.17.0.1:55558:3000"
postgres:
image: "elestio/postgres:15"
container_name: postgres
restart: always
environment:
- "POSTGRES_DB=evidence"
- "POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}"
- "POSTGRES_USER=postgres"
- "POSTGRES_HOST_AUTH_METHOD=trust"
volumes:
- "./postgres_data:/var/lib/postgresql/data"
ports:
- 172.17.0.1:42962:5432
pgadmin4:
image: dpage/pgadmin4:latest
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: ${ADMIN_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${ADMIN_PASSWORD}
PGADMIN_LISTEN_PORT: 8080
ports:
- "172.17.0.1:17371:8080"
volumes:
- ./servers.json:/pgadmin4/servers.json
Thx a lot for your work and for your responses 😊
Hey, I'm facing for a new issue.
I deployed evidence with docker compose, and everything seems ok, but when I'm going to settings to change database, when I choose postgres or else, I put my credentials, when I save them, I got a 403 forbidden error, and on log from chrome I have this:
But when I'm clickin on thus url i get this:
here is my docker-compose file:
Thx a lot for your work and for your responses 😊