-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 944 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 944 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
services:
# Simple LaTeX service using existing image (no build required)
latex-simple:
image: danteev/texlive:latest
container_name: latex-simple
volumes:
- ./:/workspace
- ./output:/workspace/output
working_dir: /workspace
ports:
- "8443:8080"
command: >
sh -c "
echo 'Installing additional packages...' &&
apt-get update &&
apt-get install -y python3 python3-pip make git curl wget &&
echo 'Starting code-server...' &&
curl -fsSL https://code-server.dev/install.sh | sh &&
code-server --bind-addr 0.0.0.0:8080 --auth none
"
restart: unless-stopped
# Standalone LaTeX service for command-line builds
latex:
image: danteev/texlive:latest
container_name: latex
volumes:
- ./:/workspace
- ./output:/workspace/output
working_dir: /workspace
entrypoint: tail -f /dev/null
restart: unless-stopped