Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed Mar 12, 2024
1 parent b2d8c45 commit 3f0262c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,6 @@ jobs:
command: |
wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/master/.env -O .env
wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/master/questionservice/database/schema.sql -O schema.sql
docker compose --profile prod down
docker compose --profile prod up -d
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ services:
- mysql-data:/var/lib/mysql
#montar en el directorio de mysql el archivo schema que esta en questionservice/database para que lo tenga el contendor y lo pueda ejecutar
#create_db es true
- questionservice/database/:/docker-entrypoint-initdb.d
- ./schema.sql:/docker-entrypoint-initdb.d/schema.sql

networks:
- mynetwork
expose:
Expand Down

0 comments on commit 3f0262c

Please sign in to comment.