forked from GoteoFoundation/goteo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (59 loc) · 1.54 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
64
###############################################################################
# Generated on docker.io #
###############################################################################
version: "3.1"
services:
mailhog:
image: mailhog/mailhog:latest
container_name: goteo-mailhog
logging:
driver: none
ports:
- "8082:8025"
- "1025:1025"
mariadb:
image: mariadb:10.2
container_name: goteo-mariadb
working_dir: /application
volumes:
- .:/application
- goteo-mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=crowdfunding
- MYSQL_DATABASE=goteo
- MYSQL_USER=goteo
- MYSQL_PASSWORD=goteo
ports:
- "3307:3306"
webserver:
image: nginx:alpine
container_name: goteo-webserver
working_dir: /application
volumes:
- .:/application
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8081:80"
- "8443:443"
- "35729:35729"
geoip:
image: igortimoshenko/docker-maxmind-geoip
container_name: goteo-geoip
volumes:
- goteo-geoip:/usr/share/GeoIP
php:
build: docker/php
container_name: goteo-php
working_dir: /application
volumes:
- .:/application
- ./docker/php/php-ini-overrides.ini:/etc/php/7.4/fpm/conf.d/99-overrides.ini
- goteo-geoip:/usr/share/GeoIP
environment:
- GOTEO_CONFIG_FILE
- DEBUG
- UID
command: ./docker/php/init.sh
volumes:
goteo-mariadb:
goteo-geoip: