fix(docker): prod, dev .env files

This commit is contained in:
Michael 2025-07-15 12:45:23 +02:00
parent c9a00ce88c
commit 18892f316c

View file

@ -34,7 +34,7 @@ This repo contains a git submodule sintonia_webapp, it refers to this [repo](htt
Right now the submodule is not properly set up. Right now the submodule is not properly set up.
So open a terminal in the root of this project, sintonia, and run this command: So open a terminal in the root of this project, sintonia, and run this command:
``` ```
git clone ssh://gitea@git.congegni.net:4022/Congegni/sintonia_webapp.git && cd sintonia_webapp && git checkout dev && cp .env.dev .env && cd .. git clone ssh://gitea@git.congegni.net:4022/Congegni/sintonia_webapp.git && cd sintonia_webapp && git checkout dev cd ..
``` ```
The folder sintonia_webapp now it's synced with the dev branch (the currently active branch). The folder sintonia_webapp now it's synced with the dev branch (the currently active branch).
@ -52,6 +52,8 @@ make dev-certs
docker compose run --rm legacy make build docker compose run --rm legacy make build
docker compose run --rm api libretime-api migrate docker compose run --rm api libretime-api migrate
``` ```
The conf file for the sintonia_webapp is in docker/sintonia-webapp/laravel/.env.production or dev/sintonia-webapp/laravel/.env.dev
The file will be mounted as a volume in the sintonia_webapp container
Run the following command: Run the following command:
``` ```