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
This script wrapping standard oprations for the stack, using standard docker compose cmd and take in account `.env` and `env.local | .env.local` files.
213
215
214
216
This script is useful if you are using the database container within the stack.
215
217
216
-
see more here 
218
+
More reading [here](doc/infra/compose/stack.md)
217
219
218
220
### Using a env.local method for custom .env values
Copy file name to clipboardExpand all lines: doc/infra/compose/stack.md
+22-5Lines changed: 22 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,10 @@ This script is an helper designed to manage a Phraseanet Docker compose stack by
9
9
## Features
10
10
11
11
-**Start and Stop the Docker Stack**: Easily start or stop your Docker stack with simple commands.
12
-
-**Version Checking**: Verify the compatibility of Docker and Docker Compose versions.
12
+
-**Version Checking**: Verify the compatibility of Docker and Docker Compose versions and display Phraseanet version.
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
+
-**maintenance pages** enbaling or disabling.
15
16
16
17
17
18
## Usage
@@ -34,14 +35,20 @@ This script is an helper designed to manage a Phraseanet Docker compose stack by
34
35
./stack.sh stop
35
36
```
36
37
37
-
-**Check Versions**:
38
-
```bash
38
+
-**View stack status**:
39
+
- including:
40
+
- Started containers
41
+
- Containers's Started processus
42
+
- RabbitMQ queues inventory
43
+
- Db database and connection (works only with `db` profile)
44
+
45
+
```bash
39
46
./stack.sh status
40
47
```
41
48
42
-
-**Display Environment Information**:
49
+
-**Display stack version Information and host environnement**:
43
50
```bash
44
-
./stack.sh info
51
+
./stack.sh version
45
52
```
46
53
47
54
-**View Logs**:
@@ -54,6 +61,16 @@ This script is an helper designed to manage a Phraseanet Docker compose stack by
54
61
./stack.sh logs <container_name>
55
62
```
56
63
64
+
- **activate Maintenance**:
65
+
- enabled or disabled the maintenance page
66
+
```bash
67
+
./stack.sh maintenance <on|off>
68
+
```
69
+
- **apply-setup**:
70
+
- start setup container for configuration change applying change
71
+
```bash
72
+
./stack.sh apply-status
73
+
```
57
74
### Environment Variables
58
75
59
76
The script uses the following environment variables, which should be defined in your environment files:
0 commit comments