2019-10-14 23:36:26 +02:00
|
|
|
version: "3.6"
|
|
|
|
services:
|
2022-04-20 00:07:09 +02:00
|
|
|
es_server:
|
|
|
|
image: es_dev_webserver
|
2019-10-14 23:36:26 +02:00
|
|
|
build:
|
|
|
|
context: ./../..
|
|
|
|
dockerfile: docker/dev/Dockerfile
|
2022-04-20 00:07:09 +02:00
|
|
|
target: es_webserver
|
2019-10-14 23:36:26 +02:00
|
|
|
volumes:
|
|
|
|
- ./../..:/var/www
|
|
|
|
environment:
|
2022-04-20 00:07:09 +02:00
|
|
|
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
|
2020-10-22 17:08:00 +02:00
|
|
|
env_file: deployment.env
|
2022-04-20 00:07:09 +02:00
|
|
|
ports:
|
|
|
|
- "5000:80"
|
2019-10-14 23:36:26 +02:00
|
|
|
networks:
|
|
|
|
- database
|
2020-10-17 15:41:58 +02:00
|
|
|
- internet
|
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
|
|
|
|
networks:
|
|
|
|
- database
|
2020-10-17 15:41:58 +02:00
|
|
|
- internet
|
2019-10-14 23:36:26 +02:00
|
|
|
depends_on:
|
|
|
|
- es_database
|
|
|
|
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
|
|
|
|
networks:
|
|
|
|
- database
|
|
|
|
volumes:
|
|
|
|
db: {}
|
|
|
|
|
|
|
|
networks:
|
|
|
|
database:
|
2020-10-17 15:41:58 +02:00
|
|
|
internal: true
|
|
|
|
internet:
|