Commit 497c84d8 authored by Romain Loth's avatar Romain Loth

fix docker-compose.yml + expose result localhost:32790/regcomex/

parent 1f8b7a01
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
version: '2' version: '2'
services: services:
mysql_regcomex: comex_db_test:
image: mysql image: mysql
environment: environment:
- MYSQL_ROOT_PASSWORD=very-safe-pass - MYSQL_ROOT_PASSWORD=very-safe-pass
...@@ -18,12 +18,14 @@ ...@@ -18,12 +18,14 @@
# POSSIBLE volume for h2 DB itself # POSSIBLE volume for h2 DB itself
comex_test: comex_test:
ports:
- "32790:9090"
image: flask_iscpif_regcomex image: flask_iscpif_regcomex
depends_on: depends_on:
- mysql_regcomex - comex_db_test
- doors_test - doors_test
links: links:
- mysql_regcomex:comex_db_backend - comex_db_test:comex_db_backend
- doors_test:doors_backend - doors_test:doors_backend
environment: environment:
- HOST=0.0.0.0 # script will bind server to this address - HOST=0.0.0.0 # script will bind server to this address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment