mirror of
https://git.roussel.pro/telecom-paris/pact.git
synced 2026-02-09 02:20:17 +01:00
container pour l'interface de la borne
This commit is contained in:
@@ -46,4 +46,14 @@ services:
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
build: ./reviews_api
|
||||
build: ./reviews_api
|
||||
restart: always
|
||||
|
||||
interface_borne:
|
||||
image: httpd:latest
|
||||
volumes:
|
||||
- ./interface_borne:/usr/local/apache2/htdocs/
|
||||
container_name: interface_borne
|
||||
ports:
|
||||
- 80:80
|
||||
|
||||
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
@@ -1,6 +0,0 @@
|
||||
while ! wget $DB_HOST:3306;
|
||||
do
|
||||
sleep 1
|
||||
echo "Waiting for database connection..."
|
||||
done
|
||||
node index.js
|
||||
Reference in New Issue
Block a user