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
|
2024-09-20 18:47:12 +02:00
|
|
|
- ./public/build:/app/public/build:delegated
|
2024-09-17 14:02:17 +02:00
|
|
|
- ./misc:/app/misc:delegated
|
|
|
|
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
container_name: ninefolio-adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 6081:8080
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
mariadb-data:
|
|
|
|
|
|
|
|
|