chore(infra): run backend container with dynamic volume mounting

This commit is contained in:
VPS 4 Builder
2026-05-18 01:44:34 +02:00
parent 6976aa635d
commit fc5170c6f0
+4 -3
View File
@@ -10,10 +10,11 @@ services:
- subdominio-net
backend:
build:
context: ./backend
image: node:20-alpine
container_name: subdominio-backend
restart: unless-stopped
working_dir: /app
command: node server.js
environment:
- PG_HOST=10.99.0.3
- PG_PORT=5432
@@ -22,7 +23,7 @@ services:
- PG_PASSWORD=mErC4d0_2026_Club3!#
- PORT=8019
volumes:
- ./backend/config.json:/app/config.json
- ./backend:/app
networks:
- subdominio-net
- soc