chore(infra): run backend container with dynamic volume mounting
This commit is contained in:
+4
-3
@@ -10,10 +10,11 @@ services:
|
|||||||
- subdominio-net
|
- subdominio-net
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
build:
|
image: node:20-alpine
|
||||||
context: ./backend
|
|
||||||
container_name: subdominio-backend
|
container_name: subdominio-backend
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
working_dir: /app
|
||||||
|
command: node server.js
|
||||||
environment:
|
environment:
|
||||||
- PG_HOST=10.99.0.3
|
- PG_HOST=10.99.0.3
|
||||||
- PG_PORT=5432
|
- PG_PORT=5432
|
||||||
@@ -22,7 +23,7 @@ services:
|
|||||||
- PG_PASSWORD=mErC4d0_2026_Club3!#
|
- PG_PASSWORD=mErC4d0_2026_Club3!#
|
||||||
- PORT=8019
|
- PORT=8019
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend/config.json:/app/config.json
|
- ./backend:/app
|
||||||
networks:
|
networks:
|
||||||
- subdominio-net
|
- subdominio-net
|
||||||
- soc
|
- soc
|
||||||
|
|||||||
Reference in New Issue
Block a user