Skip to content
Snippets Groups Projects
Commit 37aaec0b authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

update README

parent e96438f6
No related branches found
No related tags found
No related merge requests found
...@@ -11,11 +11,27 @@ General geology of the world and main minerals deposits and mines (data from USG ...@@ -11,11 +11,27 @@ General geology of the world and main minerals deposits and mines (data from USG
## Use ## Use
1. Pull the image: 1. Through the command line:
> docker pull registry.git.nilu.no/fact/data/fact_mine:latest ```bash
docker pull registry.git.nilu.no/fact/data/fact_mine:latest
2. Run this data service: docker run -t -i --name fact_mine -e MARIADB_DATABASE=FACT_mine -e MYSQL_ROOT_PASSWORD=devops -p 3314:3306 -d registry.git.nilu.no/fact/data/fact_mine:0.1
>docker run -t -i --name fact_mine -e MARIADB_DATABASE=FACT_mine -e MYSQL_ROOT_PASSWORD=devops -p 3314:3306 -d registry.git.nilu.no/fact/data/fact_mine:0.1 ```
2. Through a docker-compose file:
```yaml
version: '3.8'
services:
fact_mine:
image: registry.git.nilu.no/fact/data/fact_mine:latest
container_name: fact_mine
environment:
MARIADB_DATABASE: FACT_mine
MYSQL_ROOT_PASSWORD: devops
ports:
- "3314:3306"
restart: unless-stopped
```
which could be executed with `docker-compose up fact_mine -d`.
The container makes available a MariaDB instance with the full database on airports and traffic **FACT_mine**. It is reachable on port 3314 of the localhost and the root password is 'devops'. The container makes available a MariaDB instance with the full database on airports and traffic **FACT_mine**. It is reachable on port 3314 of the localhost and the root password is 'devops'.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment