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.

23 lines
602 B

12 months ago
version: "3.8"
services:
frontend:
build:
context: .
dockerfile: fockerfile.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"