forked from FriendsOfREDAXO/redaxo-mit-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (58 loc) · 1.92 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
version: "3"
services:
redaxo:
build: ./docker/redaxo # build folder for redaxo image
ports:
- 20080:80 # web server will use port 20080 for http
- 20443:443 # web server will use port 20443 for https
volumes:
- ./html:/var/www/html:cached # webroot `/var/www/html` will be synced with your local folder `./html`
depends_on:
- db
environment:
REDAXO_SERVER: http://localhost:20080
REDAXO_SERVERNAME: REDAXO
REDAXO_ERROR_EMAIL: [email protected]
REDAXO_LANG: de_de
REDAXO_TIMEZONE: Europe/London
REDAXO_DB_HOST: db # database container name
REDAXO_DB_NAME: redaxo
REDAXO_DB_LOGIN: redaxo
REDAXO_DB_PASSWORD: redaxo
REDAXO_DB_CHARSET: utf8mb4
REDAXO_ADMIN_USER: admin
REDAXO_ADMIN_PASSWORD: admin123
db:
image: mysql:8
command: --mysql-native-password=ON
volumes:
- ./db:/var/lib/mysql:cached # database in `/var/lib/mysql` will be synced with your local folder `./db`
environment:
MYSQL_DATABASE: redaxo
MYSQL_USER: redaxo
MYSQL_PASSWORD: redaxo
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 28080:80
depends_on:
- db
environment:
PMA_HOST: db
PMA_USER: redaxo
PMA_PASSWORD: redaxo
UPLOAD_LIMIT: 256M
mailpit:
image: axllent/mailpit
ports:
- 1025:1025 # mailpit will use port 1025 (for smtp)
- 28025:8025 # mailpit will use port 28025 (for its web interface)
blackfire:
image: blackfire/blackfire:2
environment:
# replace with credentials found on https://blackfire.io/my/settings/credentials
BLACKFIRE_CLIENT_ID:
BLACKFIRE_CLIENT_TOKEN:
BLACKFIRE_SERVER_ID:
BLACKFIRE_SERVER_TOKEN: