Skip to content

Commit

Permalink
Merge pull request #193 from SonicCloudOrg/dev
Browse files Browse the repository at this point in the history
发版
  • Loading branch information
ZhouYixun authored May 20, 2022
2 parents 8b3fe04 + 65ab25a commit 7986f82
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
17 changes: 7 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- SECRET_KEY
- EXPIRE_DAY
volumes:
- files:/logs/
- ./logs/:/logs/
depends_on:
- sonic-server-zookeeper
networks:
Expand Down Expand Up @@ -55,7 +55,7 @@ services:
networks:
- sonic-network
volumes:
- files:/logs/
- ./logs/:/logs/
depends_on:
- sonic-server-zookeeper
ports:
Expand All @@ -75,11 +75,11 @@ services:
networks:
- sonic-network
volumes:
- files:/keepFiles/
- files:/imageFiles/
- files:/recordFiles/
- files:/packageFiles/
- files:/logs/
- ./keepFiles/:/keepFiles/
- ./imageFiles/:/imageFiles/
- ./recordFiles/:/recordFiles/
- ./packageFiles/:/packageFiles/
- ./logs/:/logs/
depends_on:
- sonic-server-zookeeper
restart: on-failure
Expand All @@ -95,9 +95,6 @@ services:
ports:
- "${SONIC_CLIENT_PORT}:80"

volumes:
files:

networks:
sonic-network:
driver: bridge
17 changes: 7 additions & 10 deletions docker-compose2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- SECRET_KEY
- EXPIRE_DAY
volumes:
- files:/logs/
- ./logs/:/logs/
depends_on:
- sonic-server-zookeeper
networks:
Expand Down Expand Up @@ -55,7 +55,7 @@ services:
networks:
- sonic-network
volumes:
- files:/logs/
- ./logs/:/logs/
depends_on:
- sonic-server-zookeeper
ports:
Expand All @@ -75,11 +75,11 @@ services:
networks:
- sonic-network
volumes:
- files:/keepFiles/
- files:/imageFiles/
- files:/recordFiles/
- files:/packageFiles/
- files:/logs/
- ./keepFiles/:/keepFiles/
- ./imageFiles/:/imageFiles/
- ./recordFiles/:/recordFiles/
- ./packageFiles/:/packageFiles/
- ./logs/:/logs/
depends_on:
- sonic-server-zookeeper
restart: on-failure
Expand All @@ -95,9 +95,6 @@ services:
ports:
- "${SONIC_CLIENT_PORT}:80"

volumes:
files:

networks:
sonic-network:
driver: bridge

0 comments on commit 7986f82

Please sign in to comment.