Skip to content

Commit df8b07e

Browse files
committed
chore(docker): update docker-compose and package.json files with new network driver and modified script commands
1 parent 2f38306 commit df8b07e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ volumes:
3232

3333
networks:
3434
cop-net:
35+
driver: bridge

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
],
1212
"scripts": {
1313
"docker:stop": "docker-compose stop",
14-
"docker:down": "docker-compose down",
15-
"docker:build": "docker-compose build",
16-
"docker:run": "docker-compose up",
14+
"docker:down": "docker-compose down --volumes --remove-orphans",
15+
"docker:build": "docker-compose build --no-cache",
16+
"docker:run": "docker-compose up --build",
1717
"docker:start": "docker-compose up --build -d",
18-
"docker:start:all": "npm run docker:build && npm run docker:start",
18+
"docker:logs": "docker-compose logs -f",
19+
"docker:restart:all": "npm run docker:down && npm run docker:start",
20+
"docker:prune": "docker system prune --volumes --force",
1921
"build": "tsc",
2022
"test": "mocha --config .mochar.json",
2123
"clean": "rm -rf dist",

0 commit comments

Comments
 (0)