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:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user