mirror of
https://github.com/torrentpier/torrentpier.git
synced 2024-12-15 00:21:17 -08:00
23 lines
417 B
YAML
23 lines
417 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
torrentpier:
|
|
build: .
|
|
container_name: torrentpier
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
depends_on:
|
|
- db
|
|
db:
|
|
image: mariadb:latest
|
|
container_name: mariadb
|
|
restart: always
|
|
ports:
|
|
- "3306:3306"
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: super_password
|
|
MYSQL_DATABASE: database
|
|
MYSQL_USER: username
|
|
MYSQL_PASSWORD: password
|