-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
42 lines (39 loc) · 1.13 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
version: "3.8"
services:
httpd:
image: httpd:2.4-alpine
restart: unless-stopped
container_name: ghibliql-httpd
ports:
- 8080:80/tcp
volumes:
- "./:/var/www/ghibliql"
- "./conf/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro"
- "./conf/vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf:ro"
depends_on:
- php
php:
build:
context: .
dockerfile: Dockerfile
container_name: ghibliql-php
ports:
- 9000:9000/tcp
environment:
- GHIBLIAPI_URL=http://ghibliapi:3000
- REDIS_URL=redis://redis:6379
volumes:
- "./:/var/www/ghibliql"
- "./conf/php.ini:/usr/local/etc/php/conf.d/php.ini:ro"
working_dir: "/var/www/ghibliql"
depends_on:
- redis
redis:
image: redis:6.2-alpine
restart: unless-stopped
container_name: ghibliql-redis
ports:
- 6379:6379/tcp
networks:
default:
driver: bridge