-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 858 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 858 Bytes
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
version: '3.1'
services:
webui-dev:
build:
context: .
dockerfile: ./Dockerfile
ports:
- "8080:8080"
volumes:
- ./webserver.conf:/webserver.conf
- ./build/web:/webserver/src/ai/backend/web/static
environment:
- BACKEND_ENDPOINT_TYPE=api
command: /bin/bash -c "redis-server --daemonize yes && python3 -m ai.backend.web.server -f /webserver.conf"
networks:
- backend
webui:
build:
context: .
dockerfile: ./Dockerfile
ports:
- "443:443"
volumes:
- ./webserver.conf:/webserver.conf
- ./certificates:/etc/certificates
environment:
- BACKEND_ENDPOINT_TYPE=api
command: /bin/bash -c "redis-server --daemonize yes && python3 -m ai.backend.web.server -f /webserver.conf"
networks:
- backend
networks:
backend:
driver: bridge