ninegitea/docker-compose.yml

30 lines
576 B
YAML

version: '3'
services:
mariadb:
image: mariadb
container_name: ninegitea-mariadb
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: ninegitea
MYSQL_USER: user
MYSQL_PASSWORD: changeme
volumes:
- mariadb-data:/var/lib/mysql
ninegitea:
build:
context: .
dockerfile: ./misc/docker/Dockerfile
container_name: ninegitea-app
image: reg.cadoles.com/envole/ninegitea
ports:
- "8000:80"
volumes:
mariadb-data: