-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·56 lines (52 loc) · 1.99 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
version: "3"
services:
web:
container_name: redaxodocker_artist_webapp
hostname: redaxodocker_artist_webapp
build: ./docker/php-apache # location for web server dockerfile and config
ports:
- 20180:80 # web server will use port 20080 for http
- 21443: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
- mail
links:
- db
- mail
environment:
REDAXO_USER: admin # username of your new REDAXO admin
REDAXO_PASSWORD: admin # password of your new REDAXO admin
REDAXO_DEMO: demo_base # website demo to be installed. leave empty for a raw REDAXO!
db:
container_name: redaxodocker_db_artist_webapp
hostname: redaxodocker_db_artist_webapp
build: ./docker/mysql # location for database dockerfile and config
ports:
- 21306:3306 # database will use port 23306
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"
mail:
container_name: redaxodocker_mail_artist_webapp
hostname: redaxodocker_mail_artist_webapp
build: ./docker/mailhog # location for mailhog dockerfile and config
ports:
- 21025:8025 # mailhog will use port 28025 (for its web interface)
phpmyadmin:
container_name: redaxodocker_phpmyadmin_artist_webapp
hostname: redaxodocker_phpmyadmin_artist_webapp
image: phpmyadmin/phpmyadmin
ports:
- 28180:80
depends_on:
- db
environment:
PMA_HOST: db
PMA_USER: redaxo
PMA_PASSWORD: redaxo