42 lines
774 B
YAML
42 lines
774 B
YAML
version: '3'
|
|
|
|
services:
|
|
mariadb:
|
|
image: mariadb
|
|
container_name: ninecompta-mariadb
|
|
restart: unless-stopped
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: changeme
|
|
MYSQL_DATABASE: ninecompta
|
|
MYSQL_USER: user
|
|
MYSQL_PASSWORD: changeme
|
|
volumes:
|
|
- 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
|
|
|
|
volumes:
|
|
mariadb-data:
|
|
|
|
|