-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 970 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 970 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
version: '3'
services:
consoley:
build:
context: ./docker/desktop
dockerfile: Dockerfile
image: consoley/desktop:dev
privileged: true
working_dir: /app/api-server
ports:
- "5800:5900" # VNC
- "6070:6080" # noVNC web access
- "8090:8080" # API service
environment:
- DISPLAY=:1
- RUST_LOG=debug
- WIDTH=1280
- HEIGHT=800
- DEBIAN_FRONTEND=noninteractive
- USER=consoley
- HOME=/home/consoley
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ./docker/desktop/api-server:/app/api-server:rw
- cargo-cache:/home/consoley/.cargo:rw
- cargo-target:/app/api-server/target:rw
- consoley-home:/home/consoley:rw
- consoley-config:/home/consoley/.config:rw
cap_add:
- SYS_ADMIN
command: ["sh", "-c", "chmod +x /startup.sh && /startup.sh"]
user: root
volumes:
cargo-cache:
cargo-target:
consoley-home:
consoley-config: