-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
80 lines (74 loc) · 2.36 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
##################################################
##### DEVELOPMENT ENVIRONMENT ##########
##################################################
version: '3.5'
services:
neos:
build:
context: .
dockerfile: ./docker/Dockerfile
environment:
FLOW_CONTEXT: 'Development/Docker'
# DB connection
DB_NEOS_HOST: 'maria-db'
DB_NEOS_PORT: 3306
DB_NEOS_PASSWORD: 'neos'
DB_NEOS_USER: 'neos'
DB_NEOS_DATABASE: 'neos'
DB_MEMBER_USER: 'root'
DB_MEMBER_PASSWORD: ''
DB_MEMBER_DATABASE: 'fsh_members'
FSH_REGISTRATION_MAIL_RECIPIENT: '[email protected]'
volumes:
- ./app/composer.json:/app/composer.json:cached
- ./app/composer.lock:/app/composer.lock:cached
- ./app/DistributionPackages/:/app/DistributionPackages:cached
- ./app/Data/Persistent:/app/Data/Persistent:cached
- ./app/Configuration/:/app/Configuration/:cached
- ./docker_cached:/composer_cache:cached
ports:
- 8081:8081
networks:
- frauenselbsthilfe
depends_on:
- maria-db
- mailhog
- elastic
- redis
maria-db:
hostname: maria-db
image: mariadb:10.2
ports:
- 13306:3306
networks:
- frauenselbsthilfe
environment:
MYSQL_ROOT_PASSWORD: neos
MYSQL_DATABASE: neos
MYSQL_USER: neos
MYSQL_PASSWORD: neos
elastic:
hostname: elastic
image: elasticsearch:1.7.3
ports:
- 9200:9200
networks:
- frauenselbsthilfe
volumes:
- ./docker/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro,cached
mailhog:
hostname: mailhog
image: mailhog/mailhog
ports:
- 8025:8025
networks:
- frauenselbsthilfe
redis:
hostname: redis
image: redis:5.0.4
networks:
- frauenselbsthilfe
networks:
# we need to use a custom network here to ensure that all services see each other; and that during prerendering, we can connect to this network (to reach the service facade)
frauenselbsthilfe:
name: frauenselbsthilfe