-
Notifications
You must be signed in to change notification settings - Fork 0
Docker deployment using local docker compose files
Jo Cook edited this page Jan 21, 2021
·
11 revisions
Use this approach to deploy when you have access to the machine you're trying to run the containers on
Note that it won't work right at this minute because the custom images are in a private ECR registry. To be sorted after discussion on best approach moving forward
Prerequisites on the machine you're going to be launching the containers on:
- Docker and docker-compose
- This repository
- Authentication credentials for AWS ECR (at present)
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