2020-10-12 01:42:43 +02:00
|
|
|
---
|
2018-08-12 16:23:35 +02:00
|
|
|
version: "3.6"
|
2018-02-08 22:56:44 +01:00
|
|
|
services:
|
2022-04-20 00:07:09 +02:00
|
|
|
es_server:
|
|
|
|
image: es_server
|
2018-08-12 16:23:35 +02:00
|
|
|
build:
|
|
|
|
context: ..
|
2019-10-14 23:36:26 +02:00
|
|
|
dockerfile: docker/Dockerfile
|
2018-02-08 22:56:44 +01:00
|
|
|
environment:
|
2019-10-14 23:36:26 +02:00
|
|
|
MYSQL_HOST: es_database
|
2018-02-08 22:56:44 +01:00
|
|
|
MYSQL_USER: engelsystem
|
|
|
|
MYSQL_PASSWORD: engelsystem
|
|
|
|
MYSQL_DATABASE: engelsystem
|
2022-04-20 00:07:09 +02:00
|
|
|
ports:
|
2023-01-29 20:18:13 +01:00
|
|
|
- "5080:80"
|
2020-10-12 01:42:43 +02:00
|
|
|
env_file: deployment.env
|
2018-08-13 11:23:33 +02:00
|
|
|
networks:
|
|
|
|
- database
|
2020-10-17 15:41:58 +02:00
|
|
|
- internet
|
2018-08-12 16:23:35 +02:00
|
|
|
depends_on:
|
2019-10-14 23:36:26 +02:00
|
|
|
- es_database
|
|
|
|
es_database:
|
2019-10-11 22:56:38 +02:00
|
|
|
image: mariadb:10.2
|
2018-02-08 22:56:44 +01:00
|
|
|
environment:
|
|
|
|
MYSQL_DATABASE: engelsystem
|
|
|
|
MYSQL_USER: engelsystem
|
|
|
|
MYSQL_PASSWORD: engelsystem
|
|
|
|
MYSQL_RANDOM_ROOT_PASSWORD: 1
|
2019-10-11 22:56:38 +02:00
|
|
|
MYSQL_INITDB_SKIP_TZINFO: "yes"
|
2018-02-08 22:56:44 +01:00
|
|
|
volumes:
|
|
|
|
- db:/var/lib/mysql
|
2018-08-13 11:23:33 +02:00
|
|
|
networks:
|
|
|
|
- database
|
2018-02-08 22:56:44 +01:00
|
|
|
volumes:
|
2018-08-12 16:23:35 +02:00
|
|
|
db: {}
|
2018-08-13 11:23:33 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
database:
|
2020-10-17 15:41:58 +02:00
|
|
|
internal: true
|
|
|
|
internet:
|