-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 963 Bytes
/
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.9"
services:
app:
build:
args:
APP_CONTEXT_PATH: .
DOCKER_IMAGE_CONTEXT_PATH: ./docker/images
context: .
dockerfile: ./docker/images/app/Dockerfile
container_name: frostnova_app
environment:
ENVIRONMENT: "development"
ERROR_REPORTING: "true"
FORCE_HTTPS: "false"
networks:
- external
- internal
volumes:
- .:/app
- ./docker/images/app/php.ini:/usr/local/etc/php/php.ini
- ./var/log:/var/log
http-proxy:
build:
args:
DOCKER_IMAGE_CONTEXT_PATH: ./docker/images
context: .
dockerfile: ./docker/images/http-proxy/Dockerfile
container_name: frostnova_http-proxy
networks:
- external
ports:
- "80:80"
restart: unless-stopped
volumes:
- ./docker/images/http-proxy/default.conf:/etc/nginx/conf.d/default.conf
- ./var/log/nginx:/var/log/nginx
networks:
internal:
external: