mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-14 08:54:44 +00:00
After learning how to restore a neo4j database in kubernetes I believe the best way to seed is to seed locally, create a backup and then restore the backup to the kubernetes cluster.
12 lines
268 B
Docker
12 lines
268 B
Docker
FROM humanconnection/neo4j:latest
|
|
|
|
ENV NODE_ENV=maintenance
|
|
EXPOSE 7687 7474
|
|
|
|
RUN apk upgrade --update
|
|
RUN apk add --no-cache mongodb-tools openssh nodejs yarn rsync
|
|
|
|
COPY known_hosts /root/.ssh/known_hosts
|
|
COPY migration ./migration
|
|
COPY ./binaries/* /usr/local/bin/
|