1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Merge pull request #364 from bdeshi/fork

chore: remove hard-coded volume from Dockerfile
This commit is contained in:
Ferdinand Mütsch 2022-04-24 20:28:22 +02:00 committed by GitHub
commit 74a5226e73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -54,8 +54,6 @@ ENV WAKAPI_ALLOW_SIGNUP 'true'
COPY --from=build-env /app . COPY --from=build-env /app .
VOLUME /data
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT /app/entrypoint.sh ENTRYPOINT /app/entrypoint.sh

View File

@ -22,3 +22,8 @@ services:
POSTGRES_USER: "wakapi" POSTGRES_USER: "wakapi"
POSTGRES_PASSWORD: "choose-a-password" POSTGRES_PASSWORD: "choose-a-password"
POSTGRES_DB: "wakapi" POSTGRES_DB: "wakapi"
volumes:
- wakapi-db-data:/var/lib/postgresql/data
volumes:
wakapi-db-data: {}