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" volumes: - ./src:/app/src:delegated - ./templates:/app/templates:delegated - ./config:/app/config:delegated - ./.env:/app/.env:delegated - ./.env.local:/app/.env.local:delegated - ./public/uploads:/app/public/uploads:delegated adminer: image: adminer container_name: ninegitea-adminer restart: always ports: - 6081:8080 volumes: mariadb-data: