mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Move volume declaration for backend to .override
+ lowercase working directory + download plugins to correct location /var/lib/neo4j/plugins
This commit is contained in:
parent
4e13c6abe8
commit
0699b22137
@ -4,7 +4,7 @@ LABEL Description="Server part of the social network Human Connection" Vendor="H
|
||||
# expose the app port
|
||||
EXPOSE 4000
|
||||
|
||||
ARG WORKDIR=/Backend
|
||||
ARG WORKDIR=/backend
|
||||
|
||||
RUN mkdir -p $WORKDIR
|
||||
WORKDIR $WORKDIR
|
||||
|
||||
@ -1,3 +1,2 @@
|
||||
FROM neo4j:3.4
|
||||
RUN wget https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.4.0.3/apoc-3.4.0.3-all.jar
|
||||
RUN mkdir -p /plugins && mv apoc-3.4.0.3-all.jar plugins/
|
||||
RUN wget https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.4.0.3/apoc-3.4.0.3-all.jar -P plugins/
|
||||
|
||||
@ -3,6 +3,9 @@ version: "3.7"
|
||||
services:
|
||||
backend:
|
||||
container_name: backend.127.0.0.1.xip.io
|
||||
volumes:
|
||||
- .:/backend
|
||||
- /backend/node_modules
|
||||
|
||||
networks:
|
||||
hc-network:
|
||||
|
||||
@ -16,9 +16,6 @@ services:
|
||||
- CLIENT_URI=http://localhost:3000
|
||||
- JWT_SECRET=b/&&7b78BF&fv/Vd
|
||||
- MOCK=false
|
||||
volumes:
|
||||
- .:/Backend
|
||||
- /Backend/node_modules
|
||||
|
||||
neo4j:
|
||||
ports:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user