Skip to content

Commit

Permalink
change dir path for sqlite db file to live outside of /quay-registry …
Browse files Browse the repository at this point in the history
…path
  • Loading branch information
harishsurf committed May 30, 2024
1 parent 5f0d112 commit a258963
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
state: present
name: redis_pass
data: "{{ redis_password }}"
skip_existing: true
skip_existing: false

- name: Start Redis service
systemd:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BUILDLOGS_REDIS:
password: {{ redis_password }}
port: 6379
DATABASE_SECRET_KEY: {{ database_secret_key }}
DB_URI: sqlite:////quay-registry/sqlite/data/quay_sqlite.db
DB_URI: sqlite:////sqlite/quay_sqlite.db
DEFAULT_TAG_EXPIRATION: 2w
DISTRIBUTED_STORAGE_DEFAULT_LOCATIONS: []
DISTRIBUTED_STORAGE_PREFERENCE:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ExecStartPre=-/bin/rm -f %t/%n-pid %t/%n-cid
ExecStart=/usr/bin/podman run \
--name quay-app \
-v {{ expanded_quay_root }}/quay-config:/quay-registry/conf/stack:Z \
-v {{ expanded_sqlite_storage }}:/quay-registry/sqlite/data:Z \
-v {{ expanded_sqlite_storage }}:/sqlite:Z \
-v {{ expanded_quay_storage }}:/datastorage:Z \
--image-volume=ignore \
--pod=quay-pod \
Expand Down

0 comments on commit a258963

Please sign in to comment.