33 lines
799 B
YAML
33 lines
799 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
tng:
|
|
build:
|
|
context: https://gogs.batssoft.nl/Michel/docker-tng/raw/master/DOCKERFILE
|
|
args:
|
|
downloadurl: $TNG_DOWNLOADURL
|
|
container_name: TNG
|
|
hostname: tng
|
|
restart: unless-stopped
|
|
ports:
|
|
- ${TNG_PORT:-80}:80
|
|
volumes:
|
|
- tng:/var/www/html
|
|
mariadb:
|
|
container_name: TNG-MariaDB
|
|
hostname: tng-mariadb
|
|
image: mariadb:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
MARIADB_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-mysql_root_password}
|
|
MARIADB_TCP_PORT: ${MARIADB_PORT:-3306}
|
|
MARIADB_USER: ${MARIADB_USER:-tng}
|
|
MARIADB_PASSWORD: ${MARIADB_PASSWORD:-tng}
|
|
MARIADB_DATABASE: ${MARIADB_DATABASE:-tng}
|
|
volumes:
|
|
- tng-mariadb:/var/lib/mysql
|
|
|
|
volumes:
|
|
tng:
|
|
tng-mariadb:
|