Add project files

This commit is contained in:
2025-10-04 13:27:29 +03:00
parent 75eba696c9
commit cc53824229
46 changed files with 3328 additions and 7 deletions

29
compose.yaml Normal file
View File

@@ -0,0 +1,29 @@
services:
t120b165-imgboard:
image: t120b165-imgboard
container_name: t120b165_app
restart: unless-stopped
build:
context: .
dockerfile: T120B165-ImgBoard/Dockerfile
depends_on:
- db
ports:
- "8080:8080"
volumes:
- app_data:/app/Storage
db:
image: mariadb:lts
container_name: t120b165_db
restart: unless-stopped
environment:
MARIADB_ROOT_PASSWORD: supersecretpassword
MARIADB_DATABASE: imgboard_db
MARIADB_USER: imgboard
MARIADB_PASSWORD: supersecretpassword
volumes:
- ./db_data:/var/lib/mysql
volumes:
app_data:
driver: local