-
Notifications
You must be signed in to change notification settings - Fork 46
/
docker-compose.yml
50 lines (47 loc) · 1.29 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
version: "3.3"
services:
mailhog:
image: mailhog/mailhog:latest
container_name: opencaching-mailhog
ports:
- "1025:1025"
- "8025:8025"
networks:
- opencaching
mariadb:
build: ./docker/mariadb
container_name: opencaching-mariadb
working_dir: /application
volumes:
- .:/application
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=opencaching
- MYSQL_USER=opencaching
- MYSQL_PASSWORD=opencaching
ports:
- "3306:3306"
networks:
- opencaching
webserver:
build: ./docker/httpd/
container_name: opencaching-webserver
restart: on-failure
working_dir: /app
volumes:
- .:/app
environment:
- WEB_DOCUMENT_ROOT=/app/htdocs
- XDEBUG_REMOTE_CONNECT_BACK=0
# the ip of your machine
# if using WSL2 on Windows it's the IP of your WSL Ethernet Adapter
- XDEBUG_REMOTE_HOST=172.23.64.1
ports:
- "80:80"
networks:
opencaching:
aliases:
- docker.team-opencaching.de
networks:
opencaching:
driver: bridge