corrected compose file

This commit is contained in:
2026-04-27 22:50:02 +02:00
parent 8b7834bb2a
commit 073ad0d621
+40
View File
@@ -0,0 +1,40 @@
services:
front:
build: ./frontend
restart: unless-stopped
env_file:
- .env
volumes:
- cert:/etc/letsencrypt
depends_on:
- api
ports:
- 80:80
- 443:443
links:
- api
api:
build: ./backend
restart: unless-stopped
env_file:
- .env
expose:
- 8080
depends_on:
- mongodb
volumes:
- ./config/:/app/config/
links:
- mongodb
mongodb:
image: mongo:latest
restart: unless-stopped
expose:
- 27017
ports:
- "127.0.0.1:27017:27017"
volumes:
- mongodb:/data/db
volumes:
mongodb:
cert: