engelsystem/docker/dev/docker-compose.yml

67 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2019-10-14 23:36:26 +02:00
version: "3.6"
services:
es_server:
image: es_dev_webserver
2019-10-14 23:36:26 +02:00
build:
context: ./../..
dockerfile: docker/dev/Dockerfile
target: es_webserver
2019-10-14 23:36:26 +02:00
volumes:
- ./../..:/var/www
environment:
RUN_USER: "${UID}:${GID}"
2019-10-14 23:36:26 +02:00
MYSQL_HOST: es_database
MYSQL_USER: engelsystem
MYSQL_PASSWORD: engelsystem
MYSQL_DATABASE: engelsystem
PHP_IDE_CONFIG: serverName=engelsystem
ENVIRONMENT: development
MAIL_DRIVER: log
APP_NAME: Engelsystem DEV
env_file: deployment.env
ports:
2024-04-25 18:21:36 +02:00
- "127.0.0.1:5080:80"
2019-10-14 23:36:26 +02:00
depends_on:
- es_database
es_workspace:
image: es_dev_workspace
build:
context: ./../..
dockerfile: docker/dev/Dockerfile
target: es_workspace
user: "${UID}:${GID}"
volumes:
- ./../..:/var/www
environment:
HOME: /tmp
MYSQL_HOST: es_database
MYSQL_USER: engelsystem
MYSQL_PASSWORD: engelsystem
MYSQL_DATABASE: engelsystem
ENVIRONMENT: development
MAIL_DRIVER: log
APP_NAME: Engelsystem DEV
depends_on:
- es_database
es_phpmyadmin:
image: phpmyadmin
environment:
PMA_HOST: es_database
ports:
2024-04-25 18:21:36 +02:00
- "127.0.0.1:8888:80"
depends_on:
- es_database
profiles: [ dev ]
2019-10-14 23:36:26 +02:00
es_database:
image: mariadb:10.2
environment:
MYSQL_DATABASE: engelsystem
MYSQL_USER: engelsystem
MYSQL_PASSWORD: engelsystem
MYSQL_RANDOM_ROOT_PASSWORD: 1
MYSQL_INITDB_SKIP_TZINFO: "yes"
volumes:
- db:/var/lib/mysql
volumes:
db: {}