ninegitea/docker-compose.yml

46 lines
944 B
YAML
Raw Permalink Normal View History

2023-12-22 13:53:10 +01:00
version: '3'
services:
mariadb:
image: mariadb
container_name: ninegitea-mariadb
restart: always
ports:
- "3306:3306"
2023-12-22 13:53:10 +01:00
environment:
MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: ninegitea
MYSQL_USER: user
MYSQL_PASSWORD: changeme
2023-12-22 13:53:10 +01:00
volumes:
- mariadb-data:/var/lib/mysql
2023-12-22 13:53:10 +01:00
ninegitea:
build:
context: .
dockerfile: ./misc/docker/Dockerfile
2023-12-22 13:53:10 +01:00
container_name: ninegitea-app
image: reg.cadoles.com/envole/ninegitea
ports:
- "8005:80"
- "5588:5588"
2024-02-13 11:57:50 +01:00
volumes:
- ./src:/app/src:delegated
- ./templates:/app/templates:delegated
- ./config:/app/config:delegated
- ./.env:/app/.env:delegated
- ./public/uploads:/app/public/uploads:delegated
2024-03-15 15:44:29 +01:00
- ./misc:/app/misc:delegated
2024-02-13 11:57:50 +01:00
adminer:
image: adminer
container_name: ninegitea-adminer
restart: always
ports:
- 6081:8080
2023-12-22 13:53:10 +01:00
volumes:
mariadb-data: