35 lines
771 B
YAML
35 lines
771 B
YAML
version: "3"
|
|
|
|
services:
|
|
mariadb:
|
|
image: mariadb:10.10
|
|
environment:
|
|
MYSQL_DATABASE: ethik
|
|
MYSQL_USER: ethik
|
|
MYSQL_PASSWORD: ethik
|
|
MYSQL_ROOT_PASSWORD: ethik
|
|
TZ: Europe/Paris
|
|
volumes:
|
|
- ./containers/mariadb/init-db.d:/docker-entrypoint-initdb.d/:ro
|
|
- mariadb_data:/var/lib/mysql
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ethik_tag:
|
|
build:
|
|
context: ./containers/ethikTag
|
|
user: ${FIXUID:-1000}:${FIXGID:-1000}
|
|
|
|
volumes:
|
|
- .:/var/www
|
|
ports:
|
|
- 8000:80
|
|
tmpfs:
|
|
- /var/www/var:uid=${FIXUID:-1000},gid=${FIXGID:-1000}
|
|
depends_on:
|
|
- mariadb
|
|
###> doctrine/doctrine-bundle ###
|
|
|
|
volumes:
|
|
###> doctrine/doctrine-bundle ###
|
|
mariadb_data:
|
|
###< doctrine/doctrine-bundle ###
|