Align naming with coulomb.social reuse-surface conventions
Use reuse.coulomb.social, REUSE_SURFACE_URL/TOKEN env vars, reuse-surface image and reuse-surface-env secret. Replace reuse-surface-hub entrypoint with reuse-surface serve; CLI uses --base-url.
This commit is contained in:
parent
4f98506f18
commit
cbcd097214
13 changed files with 120 additions and 100 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -8,11 +8,11 @@ COPY schemas ./schemas
|
|||
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
ENV REUSE_SURFACE_HUB_HOST=0.0.0.0
|
||||
ENV REUSE_SURFACE_HUB_PORT=8000
|
||||
ENV REUSE_SURFACE_HUB_DB=/data/hub.db
|
||||
ENV REUSE_SURFACE_HUB_CACHE_DIR=/data/cache
|
||||
ENV REUSE_SURFACE_HOST=0.0.0.0
|
||||
ENV REUSE_SURFACE_PORT=8000
|
||||
ENV REUSE_SURFACE_DB=/data/reuse.db
|
||||
ENV REUSE_SURFACE_CACHE_DIR=/data/cache
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["reuse-surface-hub"]
|
||||
CMD ["reuse-surface", "serve"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue