forked from OBrink/DECIMER.ai
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.windows.yml
More file actions
58 lines (55 loc) · 1.61 KB
/
docker-compose.windows.yml
File metadata and controls
58 lines (55 loc) · 1.61 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
57
58
services:
app:
build:
context: .
dockerfile: ./docker/Dockerfile.windows
args:
- PHP_VERSION=8.2
image: decimer-app-windows:latest
container_name: decimer_app_windows
restart: unless-stopped
volumes:
- ./:/var/www/app
- /var/www/app/vendor
- /var/www/app/node_modules
networks:
- app-net
extra_hosts:
- "internal.host:host-gateway"
environment:
- APP_ENV=local
- APP_DEBUG=true
nginx:
image: nginx:alpine
container_name: decimer_nginx_windows
restart: unless-stopped
ports:
- "${APP_PORT:-8080}:80"
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./public:/var/www/app/public:cached
- ./storage/app/public:/var/www/app/storage/app/public:cached
depends_on:
- app
networks:
- app-net
supervisor:
image: decimer-app-windows:latest
container_name: decimer_supervisor_windows
restart: unless-stopped
volumes:
- ./:/var/www/app
- /var/www/app/vendor
- /var/www/app/node_modules
depends_on:
- app
networks:
- app-net
command: supervisord -n -c /etc/supervisor/supervisord.conf
environment:
- APP_ENV=local
- APP_DEBUG=true
networks:
app-net:
driver: bridge