You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want persit this change you can also save your change in a files named `env.local` or `.env.local`
200
200
201
-
These files are git ignored and permit stack customization without git conflict generation.
201
+
These files are git ignored and permit stack customization without git conflict.
202
202
203
203
If you are not interested in the development of Phraseanet, you can ignore everything in `.env` after the `DEV Purpose` part.
204
204
205
205
206
206
### stack Management
207
207
208
-
To start and stop the stack, use the `stack_management.sh start|stop|info|check|log` script at the project root.
208
+
209
+
To start and stop the stack, use the `stack_management.sh start|stop|info|status|log` script at the project root.
209
210
this script work only Linux and MacOS.
210
211
211
212
This script wrapping standard oprations for the stack, using standard docker compose cmd and take in account `.env` and `env.local | .env.local` files.
212
213
214
+
213
215
The `stop` operation is the most critical function of the script, as it ensures a clean shutdown
214
216
of the database container before stopping the entire stack.
215
217
216
218
This script is useful if you are using the database container within the stack.
217
219
218
-
see more here 
220
+
see more here 
219
221
220
222
### Using a env.local method for custom .env values
Copy file name to clipboardExpand all lines: doc/infra/compose/stack.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This script is an helper designed to manage a Phraseanet Docker compose stack by
12
12
-**Version Checking**: Verify the compatibility of Docker and Docker Compose versions.
13
13
-**Environment Information**: Gather detailed information about the environment, including Phraseanet installation status, version details, and internal URLs.
14
14
-**Log Viewing**: View logs for all containers or filter logs for a specific container.
15
-
-**Environment Variables**: Load and display environment variables from `.env` and either `env.local` or `.env.local` files.
15
+
16
16
17
17
## Usage
18
18
@@ -26,32 +26,32 @@ This script is an helper designed to manage a Phraseanet Docker compose stack by
0 commit comments