mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
32 lines
666 B
YAML
32 lines
666 B
YAML
services:
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
container_name: werkzeugkiste-frontend
|
|
environment:
|
|
- NODE_ENV=production
|
|
- HOSTNAME=0.0.0.0
|
|
- PORT=3000
|
|
- backend_url=http://backend:4000
|
|
ports:
|
|
- "3000:3000"
|
|
restart: unless-stopped
|
|
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
container_name: werkzeugkiste-backend
|
|
environment:
|
|
- NODE_ENV=production
|
|
- HOSTNAME=0.0.0.0
|
|
- PORT=4000
|
|
- CORS_ORIGIN=http://frontend:3000
|
|
ports:
|
|
- "4000:4000"
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
default:
|
|
driver: bridge
|