forked from OpencachingDeutschland/oc-server3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (52 loc) · 1.51 KB
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (52 loc) · 1.51 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
version: "3.1"
services:
mailhog:
image: mailhog/mailhog:latest
container_name: opencaching-mailhog
ports:
- "1025:1025"
- "8025:8025"
networks:
- opencaching
mariadb:
image: mariadb:10.1
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:
image: httpd:2.4.37-alpine
container_name: opencaching-webserver
restart: on-failure
working_dir: /application
volumes:
- .:/application
- ./docker/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf
- ./docker/httpd/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf
ports:
- "80:80"
networks:
opencaching:
aliases:
- docker.team-opencaching.de
php-fpm:
build: docker/php-fpm
container_name: opencaching-php-fpm
working_dir: /application
volumes:
- .:/application
- ./docker/php-fpm/php-ini-overrides.ini:/etc/php5/fpm/conf.d/99-overrides.ini
networks:
- opencaching
networks:
opencaching:
driver: bridge