Skip to content

tmshv/hudozka

Repository files navigation

Site of Art school of Shlisselburg

Font: «Shadow»

Usage

Build

$ docker build -t tmshv/hudozka .

How to run

Add .env file

MONGO_HUDOZKA_PASSWORD=<strong_password>
HUDOZKA_DB_URI=mongodb://hudozka:strong_password@mongo:27017/hudozka?authSource=admin

Run

$ docker-compose up -d

How to sync data base

Local DB to remote DB

DB=hudozka
HOST=<ip_address>
USER=<mongo_user>
PWD=<mongo_password>
mongodump -d ${DB} --gzip --archive | mongorestore -h ${HOST} -u ${USER} -p ${PWD} -d ${DB} --gzip --archive

Contributors