-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdocker-compose.development.yml
More file actions
81 lines (73 loc) · 1.71 KB
/
docker-compose.development.yml
File metadata and controls
81 lines (73 loc) · 1.71 KB
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
volumes:
redis-data: {}
mysql-data: {}
services:
web:
build:
context: ./
dockerfile: docker/php/Dockerfile
target: development
environment:
- APP_DOMAIN=localhost:12380
- SITE_SUBDOMAIN=stdparteitag
- DB_HOST=mysql
- DB_NAME=antragsgruen
- DB_USER=root
- DB_PASSWORD=root
- REDIS_HOST=redis
- MAILER_DISABLED=true
- MAIL_FROM_EMAIL=noreply@example.org
- MAIL_FROM_NAME=Motion Tools
- RANDOM_SEED=${RANDOM_SEED}
- RABBITMQ_HOST=rabbitmq
- WEASYPRINT_PATH=/usr/bin/weasyprint
- IMAGE_MAGICK_PATH=/usr/bin/convert
volumes:
- "./:/var/www/antragsgruen"
- "../antragsgruen-plugins/:/var/www/antragsgruen-plugins/:ro"
nginx:
image: nginx:latest
ports:
- "12380:80"
- "12443:443"
volumes:
- "./:/var/www/antragsgruen:ro"
- "./docker/nginx:/etc/nginx/conf.d"
mysql:
image: mariadb
ports:
- "3306:3306"
environment:
MARIADB_ROOT_PASSWORD: root
volumes:
- "mysql-data:/var/lib/mysql"
redis:
image: "redis:7"
volumes:
- 'redis-data:/data'
rabbitmq:
image: 'rabbitmq:3-management-alpine'
environment:
- RABBITMQ_DEFAULT_PASS=guest
- RABBITMQ_DEFAULT_USER=guest
ports:
- "5672:5672"
- "15672:15672"
profiles:
- live
gulp-watch:
image: 'node:22'
volumes:
- "./:/var/www/antragsgruen"
working_dir: /var/www/antragsgruen
command: "npx gulp watch"
profiles:
- gulp-watch
node-helper:
image: 'node:22'
volumes:
- "./:/var/www/antragsgruen"
working_dir: /var/www/antragsgruen
command: sleep infinity
profiles:
- node-helper