You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
652 B

version: "3.8"
services:
frontend:
build:
context: .
dockerfile: dockerfile.frontend
container_name: origindex-frontend
# The Angular container runs Nginx on port 80 internally.
# If you want to access it directly (bypassing Traefik), map it to, say, 8080:
ports:
- "493:80"
backend:
build:
context: .
dockerfile: dockerfile.backend
container_name: origindex-backend
# The Express container listens on port 3000 internally.
# Map it to 3000 on the host if you want direct access (bypassing Traefik).
ports:
- "151:5000"
environment:
- JWT_SECRET=${JWT_SECRET}