Oil and Gas Database Template for Reservoir and Production Analysis
1.0K
The repository contains the Dockerfile built on top of postgis/postgis image and a sql file that creates the tables into the database.
To build the image
sudo docker build -t image_name:tag .
sudo docker build -t database_oil_gas:latest .
Docker hub automatically builds the image from this repository, being the master branch the latest version of the image and the GitHub Tagged Releases are built with the same tag.
docker pull scuervo91/oilbase:latest
or
docker pull scuervo91/oilbase:v0.1
Postgres Env Variables must be set to access the database
POSTGRES_USER: Username to access POSTGRES_PASSWORD: Password to acess POSTGRES_DB: Database name to create the tables and structures
sudo docker run --rm -v /host/path/to/directory:/var/lib/postgresql/data -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=geodb -p 5432:5432 --name database scuervo91/oilbase:latest
sudo docker run --rm -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=db -p 5432:5432 --rm --name database scuervo91/oilbase:latest
Content type
Image
Digest
Size
161.5 MB
Last updated
almost 6 years ago
docker pull scuervo91/oilbase