2024-11-18 17:07:22 +01:00
|
|
|
version: '3'
|
2024-10-28 14:10:44 +01:00
|
|
|
|
|
|
|
services:
|
2024-11-18 17:07:22 +01:00
|
|
|
mariadb:
|
|
|
|
image: mariadb
|
|
|
|
container_name: ninecompta-mariadb
|
|
|
|
restart: unless-stopped
|
2024-10-28 14:10:44 +01:00
|
|
|
environment:
|
2024-11-18 17:07:22 +01:00
|
|
|
MYSQL_ROOT_PASSWORD: changeme
|
|
|
|
MYSQL_DATABASE: ninecompta
|
|
|
|
MYSQL_USER: user
|
|
|
|
MYSQL_PASSWORD: changeme
|
2024-10-28 14:10:44 +01:00
|
|
|
volumes:
|
2024-11-18 17:07:22 +01:00
|
|
|
- mariadb-data:/var/lib/mysql
|
|
|
|
|
|
|
|
ninecompta:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./misc/docker/Dockerfile
|
|
|
|
container_name: ninecompta-app
|
|
|
|
restart: unless-stopped
|
|
|
|
image: reg.cadoles.com/envole/ninecompta
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
env_file: .env
|
|
|
|
ports:
|
|
|
|
- "8008:80"
|
|
|
|
volumes:
|
|
|
|
- .:/app:delegated
|
|
|
|
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
container_name: ninecompta-adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 6088:8080
|
2024-10-28 14:10:44 +01:00
|
|
|
|
|
|
|
volumes:
|
2024-11-18 17:07:22 +01:00
|
|
|
mariadb-data:
|
|
|
|
|
|
|
|
|