2023-01-07 22:07:15 +01:00
|
|
|
version: "3"
|
2022-10-15 10:47:21 +02:00
|
|
|
|
|
|
|
services:
|
2023-01-07 22:07:15 +01:00
|
|
|
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
|
2022-10-15 10:47:21 +02:00
|
|
|
environment:
|
2023-01-07 22:07:15 +01:00
|
|
|
MYSQL_DATABASE: ethik
|
|
|
|
MYSQL_USER: ethik
|
|
|
|
MYSQL_PASSWORD: ethik
|
|
|
|
MYSQL_ROOT_PASSWORD: ethik
|
|
|
|
TZ: Europe/Paris
|
2022-10-15 10:47:21 +02:00
|
|
|
volumes:
|
2023-01-07 22:07:15 +01:00
|
|
|
- ./containers/mariadb/init-db.d:/docker-entrypoint-initdb.d/:ro
|
|
|
|
- mariadb_data:/var/lib/mysql
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2022-10-15 10:47:21 +02:00
|
|
|
# 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 ###
|
2023-01-09 08:22:34 +01:00
|
|
|
adminer:
|
|
|
|
image: adminer:latest
|
|
|
|
ports:
|
|
|
|
- 8082:8080
|
2022-10-15 10:47:21 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
###> doctrine/doctrine-bundle ###
|
2023-01-07 22:07:15 +01:00
|
|
|
mariadb_data:
|
2022-10-15 10:47:21 +02:00
|
|
|
###< doctrine/doctrine-bundle ###
|