change script to call docker compose

This commit is contained in:
2024-09-22 14:13:38 +02:00
parent 2ce9a693f9
commit b6e0c6eb31
3 changed files with 40 additions and 46 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
version: '3.8'
services:
backend:
image: proxy
build:
context: ./proxy
container_name: proxy-container
ports:
- "5002:80"
volumes:
- ./data:/app/data
restart: always
depends_on:
- frontend
frontend:
image: frontend
build:
context: ./frontend
container_name: frontend-container
ports:
- "5001:80"
restart: always