Added essential files

This commit is contained in:
2025-03-12 20:02:41 +01:00
parent f58754d0ab
commit 3c6fd5ae40
8 changed files with 116 additions and 0 deletions

37
compose.yml Normal file
View File

@@ -0,0 +1,37 @@
services:
front:
build: ./ipwa
restart: unless-stopped
env_file:
- .env
volumes:
- ./cert/www/:/var/www/certbot/:ro
- ./cert/conf/:/cert/:ro
depends_on:
- api
ports:
- 80:80
- 443:443
api:
build: ./ipwa-backend
restart: unless-stopped
env_file:
- .env
expose:
- 8080
depends_on:
- mongodb
volumes:
- ./config/:/app/config/
- ./cert/conf/:/cert/:ro
mongodb:
image: mongo:latest
restart: unless-stopped
expose:
- 27017
ports:
- "127.0.0.1:27017:27017"
volumes:
- mongodb:/data/db
volumes:
mongodb: