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

update REAME

parent bb188bf3
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,27 @@ Official labor statistics about the US and European countries. Data sources are
---
## Use
1. Pull the image:
> docker pull registry.git.nilu.no/fact/data/fact_jobs:latest
2. Run this data service:
> docker run -t -i --name fact\_jobs -e MARIADB\_DATABASE=FACT_jobs -e MYSQL\_ROOT\_PASSWORD=devops -p 3308:3306 -d registry.git.nilu.no/fact/data/fact\_jobs:0.1
1. Through the command line:
```bash
docker pull registry.git.nilu.no/fact/data/fact_jobs:latest
docker run -t -i --name fact\_jobs -e MARIADB\_DATABASE=FACT_jobs -e MYSQL\_ROOT\_PASSWORD=devops -p 3308:3306 -d registry.git.nilu.no/fact/data/fact\_jobs:0.1
```
2. Through a docker-compose file:
```yaml
version: '3.8'
services:
fact_jobs:
image: registry.git.nilu.no/fact/data/fact_jobs:latest
container_name: fact_jobs
environment:
MARIADB_DATABASE: FACT_jobs
MYSQL_ROOT_PASSWORD: devops
ports:
- "3308:3306"
restart: unless-stopped
```
which could be executed with `docker-compose up fact_jobs -d`.
The container makes available a MariaDB instance with the full database on employment. It is reachable on port 3308 of the localhost and the root password is 'devops'.
......@@ -255,7 +271,7 @@ Riccardo Boero - ribo@nilu.no
## Licenses
All the code and the resulting docker images in this project are subject to:
- [GNU Generla Public License v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
- [GNU General Public License v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
The data is released under:
- [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license.
......
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