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:
commit
74a5226e73
@ -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
|
||||||
|
@ -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: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user