-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (33 loc) · 968 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (33 loc) · 968 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
35
36
37
38
39
services:
api:
build:
context: .
dockerfile: Dockerfile
target: dev
container_name: battmo_api
restart: always
ports:
- "8081:8081"
- "8080:8082"
volumes:
- ./scripts:/api/scripts
- ./api.jl:/api/api.jl
- ./logs:/api/logs
- ./input_files:/api/input_files
- ./results:/api/results
# command: julia --project=. -e 'include("api.jl")' --color=yes --depwarn=no --project=@. --sysimage="pre-compilation/sysimage.so" -q -i -- $$(dirname $$0)/../bootstrap.jl -s=true "$$@"
networks:
- app-network
command: julia --project=. -e 'include("api.jl")'
gui:
image: ghcr.io/battmoteam/battmoapp_gui:latest
container_name: battmo_gui
restart: always
ports:
- "8501:8501"
networks:
- app-network
command: streamlit run app.py --global.disableWidgetStateDuplicationWarning true --server.port=8501
networks:
app-network:
driver: bridge