File tree 4 files changed +3
-68
lines changed
4 files changed +3
-68
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3.8'
2
2
3
3
services :
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
20
4
web :
21
5
image : easypanel-nextjs:0.0.1
22
6
build :
@@ -29,12 +13,7 @@ services:
29
13
ports :
30
14
- 3000:3000
31
15
volumes :
16
+ - .:/app
32
17
- ../../data:/data
33
18
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 1
1
version : ' 3.8'
2
2
3
3
services :
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
20
4
web :
21
5
image : easypanel-nextjs:0.0.1
22
6
build :
@@ -30,10 +14,4 @@ services:
30
14
volumes :
31
15
- ../../data:/data
32
16
restart : unless-stopped
33
- depends_on :
34
- redis :
35
- condition : service_healthy
36
17
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
1
version : ' 3.8'
2
2
3
3
services :
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
20
4
web :
21
5
image : easypanel-nextjs:0.0.1
22
6
build :
@@ -30,10 +14,4 @@ services:
30
14
volumes :
31
15
- ../../data:/data
32
16
restart : unless-stopped
33
- depends_on :
34
- redis :
35
- condition : service_healthy
36
17
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
2
2
set -e
3
3
4
4
# Set the directory of the database in a variable
You can’t perform that action at this time.
0 commit comments