46 lines
944 B
YAML
46 lines
944 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:
|
|
- "8005:80"
|
|
- "5588:5588"
|
|
volumes:
|
|
- ./src:/app/src:delegated
|
|
- ./templates:/app/templates:delegated
|
|
- ./config:/app/config:delegated
|
|
- ./.env:/app/.env:delegated
|
|
- ./public/uploads:/app/public/uploads:delegated
|
|
- ./misc:/app/misc:delegated
|
|
|
|
adminer:
|
|
image: adminer
|
|
container_name: ninegitea-adminer
|
|
restart: always
|
|
ports:
|
|
- 6081:8080
|
|
|
|
volumes:
|
|
mariadb-data:
|
|
|
|
|