Adding Keystone to MDG Dockerfiles
Included environment files.
Admin password selection and storage needs to be discussed.
Change-Id: Ibcaa818bcc3ae6fd013507b0b114b15b70e60150
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
diff --git a/installers/docker/docker-compose.yaml b/installers/docker/docker-compose.yaml
index c09de86..3917c9e 100644
--- a/installers/docker/docker-compose.yaml
+++ b/installers/docker/docker-compose.yaml
@@ -4,6 +4,7 @@
mongo_db:
mon_db:
osm_packages:
+ keystone_db:
networks:
netOSM:
external:
@@ -45,6 +46,26 @@
- netOSM
volumes:
- mongo_db:/data/db
+ keystone-db:
+ image: mariadb:10
+ networks:
+ - netOSM
+ volumes:
+ - keystone_db:/var/lib/mysql
+ env_file:
+ - ./keystone-db.env
+# ports:
+# - "3306:3306"
+ keystone:
+ image: osm/keystone:${TAG:-latest}
+ networks:
+ - netOSM
+ environment:
+ DB_HOST: keystone-db
+ env_file:
+ - ./keystone.env
+ ports:
+ - "${OSM_KEYSTONE_PORTS:-5000:5000}"
nbi:
image: osm/nbi:${TAG:-latest}
networks: