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 - 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