Skip to content

Commit 8421023

Browse files
committed
move command to the bottom
1 parent d45abfe commit 8421023

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docker/development/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ services:
2323
context: ../../
2424
dockerfile: docker/production/Dockerfile
2525
target: dev
26-
command: sh -c "sh ./scripts/run.sh"
2726
container_name: en_dev
2827
env_file:
2928
- ../../.env.development
@@ -35,6 +34,7 @@ services:
3534
depends_on:
3635
redis:
3736
condition: service_healthy
37+
command: sh -c "sh ./scripts/run.sh"
3838
volumes:
3939
redis_data:
4040
driver: local

docker/production/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,19 @@ services:
99
restart: always
1010
ports:
1111
- 6379:6379
12-
command: redis-server --save 60 1 --loglevel warning --requirepass 422af0c647e8c81cf20e
1312
healthcheck:
1413
test: ['CMD', 'redis-cli', 'ping']
1514
interval: 5s
1615
timeout: 30s
1716
retries: 50
1817
volumes:
1918
- redis_data:/data
19+
command: redis-server --save 60 1 --loglevel warning --requirepass 422af0c647e8c81cf20e
2020
web:
2121
image: easypanel-nextjs:0.0.1
2222
build:
2323
context: ../../
2424
dockerfile: docker/production/Dockerfile
25-
command: sh -c "sh ./scripts/run.sh"
2625
container_name: en_prod
2726
env_file:
2827
- ../../.env.production
@@ -34,6 +33,7 @@ services:
3433
depends_on:
3534
redis:
3635
condition: service_healthy
36+
command: sh -c "sh ./scripts/run.sh"
3737
volumes:
3838
redis_data:
3939
driver: local

docker/staging/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,19 @@ services:
99
restart: always
1010
ports:
1111
- 6379:6379
12-
command: redis-server --save 60 1 --loglevel warning --requirepass 422af0c647e8c81cf20e
1312
healthcheck:
1413
test: ['CMD', 'redis-cli', 'ping']
1514
interval: 5s
1615
timeout: 30s
1716
retries: 50
1817
volumes:
1918
- redis_data:/data
19+
command: redis-server --save 60 1 --loglevel warning --requirepass 422af0c647e8c81cf20e
2020
web:
2121
image: easypanel-nextjs:0.0.1
2222
build:
2323
context: ../../
2424
dockerfile: docker/production/Dockerfile
25-
command: sh -c "sh ./scripts/run.sh"
2625
container_name: en_staging
2726
env_file:
2827
- ../../.env.staging
@@ -34,6 +33,7 @@ services:
3433
depends_on:
3534
redis:
3635
condition: service_healthy
36+
command: sh -c "sh ./scripts/run.sh"
3737
volumes:
3838
redis_data:
3939
driver: local

0 commit comments

Comments
 (0)