-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.override.yml
48 lines (41 loc) · 1.05 KB
/
docker-compose.override.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
version: '3.1'
services:
app:
volumes:
- ".:/var/www/html"
- ./vendor:/var/www/html/vendor:rw
# - ./.docker/php/conf.d/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
# - ./.docker/php/conf.d/error_reporting.ini:/usr/local/etc/php/conf.d/error_reporting.ini
ports:
- "${APACHE_PORT}:80"
- 9000
db:
ports:
- "${DB_PORT}:5432"
environment:
POSTGRES_PORT: "${DB_PORT}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
pg-admin:
ports:
- "${PGADMIN_PORT}:80"
environment:
PGADMIN_DEFAULT_EMAIL: "${PGADMIN_DEFAULT_EMAIL}"
PGADMIN_DEFAULT_PASSWORD: "${DB_PASSWORD}"
mailhog:
container_name: "gft-mailhog"
ports:
- "${MAILHOG_PORT}:8025"
- "${EMAIL_PORT}:1025"
swagger-ui:
container_name: "gft-swagger-ui"
ports:
- "${SWAGGER_PORT}:8080"
environment:
SWAGGER_JSON: "/home/data/swagger.json"
redis:
container_name: "gft-redis"
ports:
- "${REDIS_PORT}:6379"
networks:
gft-app-network:
driver: "bridge"