Compare commits

..

2 Commits

Author SHA1 Message Date
Ahmed Bouhuolia
44c384bb26 Merge branch 'main' into new-relic-tracking 2024-04-28 18:10:57 +02:00
Ahmed Bouhuolia
8648b77571 feat: New Relic tracking 2024-04-28 18:08:59 +02:00
2 changed files with 6 additions and 2 deletions

View File

@@ -37,5 +37,4 @@ RUN git clone https://github.com/vishnubob/wait-for-it.git
ADD docker/migration/start.sh /
RUN chmod +x /start.sh
# Once we listen the mysql port run the migration task.
CMD ./wait-for-it/wait-for-it.sh mysql:3306 -- sh -c "node ./build/commands.js system:migrate:latest && node ./build/commands.js tenants:migrate:latest"
CMD ["/start.sh"]

View File

@@ -0,0 +1,5 @@
# Migrate the master system database.
./wait-for-it/wait-for-it.sh mysql:3306 -- node ./build/commands.js system:migrate:latest
# Migrate all tenants.
./wait-for-it/wait-for-it.sh mysql:3306 -- node ./build/commands.js tenants:migrate:latest