Add project files
This commit is contained in:
29
compose.yaml
Normal file
29
compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user