Commit 2c4aa3a4 authored by Marco Descher's avatar Marco Descher 🏔

[14738] Add docker-compose

parent dfd1a72b
Pipeline #7428 passed with stages
in 1 minute and 58 seconds
# MEDEVIT <office@medevit.at>
# Docker-compose image to run ES with MySQL,
# requires docker-compose tool
#
# Adapted from https://docs.docker.com/compose/wordpress/
# to start: docker-compose up -d
# after start connect to https://localhost:8480/web/elexis-connector/connection
# to fully remove including volume: docker-compose down -v
version: '3'
services:
database:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
ports:
- "33306:3306" # provide mysql access on port 33306
restart: always
command: --lower_case_table_names=1
environment:
MYSQL_ROOT_PASSWORD: somerootpassword
MYSQL_DATABASE: elexisdb
MYSQL_USER: elexisuser
MYSQL_PASSWORD: elexispassword
elexisserver:
depends_on:
- database
image: medevit/elexis-server:latest
ports:
- "8380:8380"
- "8480:8480"
- "7234:7234"
restart: always
environment:
TZ: Europe/Zurich
volumes:
db_data:
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment