Skip to content

Docker deployment using local docker compose files

Jo Cook edited this page Jan 28, 2021 · 11 revisions

Use this approach to deploy when you have access to the machine you're trying to run the containers on

Prerequisites on the machine you're going to be launching the containers on:

  • Docker and docker-compose
  • This repository

Change to the docker directory and make a copy of .env-local.sample as env-local and fill in the password you'd like to use for the geonetwork user in the database.

The same password should be used for both environment variables. Do not add this file to version control or otherwise publish it

Run the following command:

docker-compose -f docker-compose.yml -f docker-compose-3.10-local.yml -d up

GeoNetwork will be available at http://localhost:81/geonetwork