1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-12 16:45:14 +00:00

feat: add CLI command for importing and exporting Pocket ID data (#998)

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Elias Schneider
2025-11-26 10:38:15 +01:00
committed by GitHub
parent e306d6eb58
commit 39c1f93756
56 changed files with 3276 additions and 823 deletions

View File

@@ -11,7 +11,7 @@ services:
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=pocket-id
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
@@ -27,3 +27,6 @@ services:
depends_on:
postgres:
condition: service_healthy
volumes:
pocket-id-test-data:

View File

@@ -35,7 +35,9 @@ services:
S3_ACCESS_KEY_ID: test
S3_SECRET_ACCESS_KEY: test
S3_FORCE_PATH_STYLE: true
KEYS_STORAGE: database
depends_on:
create-bucket:
condition: service_completed_successfully
volumes:
pocket-id-test-data:

View File

@@ -11,13 +11,18 @@ services:
pocket-id:
image: pocket-id:test
ports:
- '1411:1411'
- "1411:1411"
environment:
APP_ENV: test
ENCRYPTION_KEY: test-encryption-key
FILE_BACKEND: ${FILE_BACKEND}
volumes:
- pocket-id-test-data:/app/data
build:
args:
- BUILD_TAGS=e2etest
context: ../..
dockerfile: docker/Dockerfile
volumes:
pocket-id-test-data: