2024-09-17 14:02:17 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
mariadb:
|
|
|
|
image: mariadb
|
|
|
|
container_name: ninefolio-mariadb
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: changeme
|
|
|
|
MYSQL_DATABASE: ninefolio
|
|
|
|
MYSQL_USER: user
|
|
|
|
MYSQL_PASSWORD: changeme
|
|
|
|
volumes:
|
|
|
|
- mariadb-data:/var/lib/mysql
|
|
|
|
|
|
|
|
ninefolio:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./misc/docker/Dockerfile
|
|
|
|
container_name: ninefolio-app
|
|
|
|
restart: unless-stopped
|
|
|
|
image: reg.cadoles.com/envole/ninefolio
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
env_file: .env
|
|
|
|
ports:
|
|
|
|
- "8005:80"
|
|
|
|
volumes:
|
|
|
|
- ./assets:/app/assets:delegated
|
|
|
|
- ./src:/app/src:delegated
|
|
|
|
- ./templates:/app/templates:delegated
|
|
|
|
- ./config:/app/config:delegated
|
|
|
|
- ./public/uploads:/app/public/uploads:delegated
|
|
|
|
- ./misc:/app/misc:delegated
|
2024-10-26 12:08:33 +02:00
|
|
|
- ./public/styles:/app/public/styles:delegated
|
2024-09-17 14:02:17 +02:00
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
container_name: ninefolio-adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 6081:8080
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
mariadb-data:
|
|
|
|
|
|
|
|
|