Skip to content

Commit

Permalink
Finish release/v1.0.0
Browse files Browse the repository at this point in the history
Finish Release/v1.0.0
  • Loading branch information
dragos-dobre authored Dec 13, 2019
2 parents 39effe1 + cfc04e5 commit 4185ccb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ In order to build these images, you need to clone, next to `openimis-dist_dkr/`
From within `openimis-dist_dkr/` directory:
* create a `.env` file, providing the following variables:
```
DB_SQL_SCRIPT=<URL pointing to the SQL script>
#DB_SQL_SCRIPT=<URL pointing to the SQL script>
#ACCEPT_EULA=<must put Y but it means you accept Microsoft EULA for the MSSQL database container>
DB_HOST=<your database host, or db to use the demo docker 'db' service>
DB_PORT=<your database port on the host, 1433 if you use the demo docker 'db' service>
DB_NAME=<your database name, imis if you use the demo docker 'db' service>
Expand Down Expand Up @@ -64,4 +65,4 @@ From within `openimis-dist_dkr/` directory:
# stop /start
From within `openimis-dist_dkr/` directory:
To stop all docker containers: `docker-compose stop`
To (re-)start all docker containers: `docker-compose start`
To (re-)start all docker containers: `docker-compose start`
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: "3"

services:
db:
container_name: openimis-db
build:
context: ../openimis-db_dkr
args:
- ACCEPT_EULA=Y
- SA_PASSWORD=${DB_PASSWORD}
- SQL_SCRIPT_URL=${DB_SQL_SCRIPT}
networks:
- openimis-net
# db:
# container_name: openimis-db
# build:
# context: ../openimis-db_dkr
# args:
# - ACCEPT_EULA=${ACCEPT_EULA}
# - SA_PASSWORD=${DB_PASSWORD}
# - SQL_SCRIPT_URL=${DB_SQL_SCRIPT}
# networks:
# - openimis-net
## WARNING:
## exposing the database port outside the openimis-net network
## may lead to security issue (depending on your network topology)
Expand Down

0 comments on commit 4185ccb

Please sign in to comment.