Skip to content

Commit ae9db9e

Browse files
committed
🔧 chore(docker-compose): update production configuration to remove unused volumes and add db network
1 parent a02c84d commit ae9db9e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎docker-compose.prod.yml‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3"
2-
31
services:
42
web:
53
build:
@@ -13,13 +11,13 @@ services:
1311
- "9009:3000"
1412
env_file:
1513
- .env
16-
volumes:
17-
- ./app-prod:/app
18-
- /prod_app/node_modules
1914
networks:
2015
- production-network
16+
- db-network
2117
restart: unless-stopped
2218

2319
networks:
2420
production-network:
2521
driver: bridge
22+
db-network:
23+
external: true

0 commit comments

Comments
 (0)