40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
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}
|
|
###> doctrine/doctrine-bundle ###
|
|
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
|
|
# You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!
|
|
# - ./docker/db/data:/var/lib/postgresql/data:rw
|
|
###< doctrine/doctrine-bundle ###
|
|
adminer:
|
|
image: adminer:latest
|
|
ports:
|
|
- 8082:8080
|
|
|
|
volumes:
|
|
###> doctrine/doctrine-bundle ###
|
|
mariadb_data:
|
|
###< doctrine/doctrine-bundle ###
|