File tree Expand file tree Collapse file tree 4 files changed +3
-68
lines changed
Expand file tree Collapse file tree 4 files changed +3
-68
lines changed Original file line number Diff line number Diff line change 11version : ' 3.8'
22
33services :
4- redis :
5- image : redis:7.2.4-alpine
6- container_name : en_redis_dev
7- env_file :
8- - ../../.env.development
9- restart : always
10- ports :
11- - 6379:6379
12- command : redis-server --save 60 1 --loglevel warning --requirepass 422af0c647e8c81cf20e
13- healthcheck :
14- test : ['CMD', 'redis-cli', 'ping']
15- interval : 5s
16- timeout : 30s
17- retries : 50
18- volumes :
19- - redis_data:/data
204 web :
215 image : easypanel-nextjs:0.0.1
226 build :
@@ -29,12 +13,7 @@ services:
2913 ports :
3014 - 3000:3000
3115 volumes :
16+ - .:/app
3217 - ../../data:/data
3318 restart : unless-stopped
34- depends_on :
35- redis :
36- condition : service_healthy
37- command : sh -c "sh ./scripts/run.sh"
38- volumes :
39- redis_data :
40- driver : local
19+ command : sh -c "ls -al; sh ./scripts/run.sh;"
Original file line number Diff line number Diff line change 11version : ' 3.8'
22
33services :
4- redis :
5- image : redis:7.2.4-alpine
6- container_name : en_redis_prod
7- env_file :
8- - ../../.env.production
9- restart : always
10- ports :
11- - 6379:6379
12- healthcheck :
13- test : ['CMD', 'redis-cli', 'ping']
14- interval : 5s
15- timeout : 30s
16- retries : 50
17- volumes :
18- - redis_data:/data
19- command : redis-server --save 60 1 --loglevel warning --requirepass 422af0c647e8c81cf20e
204 web :
215 image : easypanel-nextjs:0.0.1
226 build :
@@ -30,10 +14,4 @@ services:
3014 volumes :
3115 - ../../data:/data
3216 restart : unless-stopped
33- depends_on :
34- redis :
35- condition : service_healthy
3617 command : sh -c "sh ./scripts/run.sh"
37- volumes :
38- redis_data :
39- driver : local
Original file line number Diff line number Diff line change 11version : ' 3.8'
22
33services :
4- redis :
5- image : redis:7.2.4-alpine
6- container_name : en_redis_staging
7- env_file :
8- - ../../.env.staging
9- restart : always
10- ports :
11- - 6379:6379
12- healthcheck :
13- test : ['CMD', 'redis-cli', 'ping']
14- interval : 5s
15- timeout : 30s
16- retries : 50
17- volumes :
18- - redis_data:/data
19- command : redis-server --save 60 1 --loglevel warning --requirepass 422af0c647e8c81cf20e
204 web :
215 image : easypanel-nextjs:0.0.1
226 build :
@@ -30,10 +14,4 @@ services:
3014 volumes :
3115 - ../../data:/data
3216 restart : unless-stopped
33- depends_on :
34- redis :
35- condition : service_healthy
3617 command : sh -c "sh ./scripts/run.sh"
37- volumes :
38- redis_data :
39- driver : local
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/ bin/env sh
22set -e
33
44# Set the directory of the database in a variable
You can’t perform that action at this time.
0 commit comments