-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (42 loc) · 1015 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (42 loc) · 1015 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
40
41
42
43
services:
simulador-quantico:
profiles: ["cli"]
build:
context: .
dockerfile: Dockerfile
container_name: simulador-quantico
user: "${UID:-1000}:${GID:-1000}"
environment:
MPLBACKEND: Agg
MPLCONFIGDIR: /tmp/matplotlib
PYTHONPATH: /app/src
HOME: /tmp
XDG_CONFIG_HOME: /tmp
volumes:
- ./:/app
command: ["python", "-m", "simulador_quantico", "--sem-plot"]
simulador-quantico-ui:
build:
context: .
dockerfile: Dockerfile
container_name: simulador-quantico-ui
user: "${UID:-1000}:${GID:-1000}"
environment:
MPLBACKEND: Agg
MPLCONFIGDIR: /tmp/matplotlib
PYTHONPATH: /app/src
HOME: /tmp
XDG_CONFIG_HOME: /tmp
volumes:
- ./:/app
ports:
- "8501:8501"
command:
[
"streamlit",
"run",
"src/simulador_quantico/ui.py",
"--server.address=0.0.0.0",
"--server.port=8501",
"--browser.gatherUsageStats=false",
]