set up demo mode

This commit is contained in:
fred 2025-08-05 18:11:03 +00:00
parent 9aac6e0eff
commit 04bfdd0c8f
10 changed files with 93 additions and 16 deletions

View file

@ -1,6 +1,6 @@
services:
db:
container_name: recipes_postgres
container_name: recipes_postgres_${ID}
image: docker.io/library/postgres:17
# restart: always
env_file:
@ -15,13 +15,13 @@ services:
- ./postgres/db:/var/lib/postgresql/data
backend:
image: recipes_backend
container_name: recipes_backend
container_name: recipes_backend_${ID}
build:
context: ./backend
args:
NODE_ENV: ${NODE_ENV}
ports:
- "3000:3000"
- "${BACKEND_PORT}:3000"
volumes:
- ./backend:/usr/src/app
environment:
@ -31,13 +31,13 @@ services:
- DB_NAME=${DB_NAME}
frontend:
image: recipes_frontend
container_name: recipes_frontend
container_name: recipes_frontend_${ID}
build:
context: ./backend
args:
NODE_ENV: ${NODE_ENV}
ports:
- "8081:80"
- "${FRONTEND_PORT}:80"
volumes:
- ./frontend:/usr/src/app
environment: