-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (28 loc) · 921 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (28 loc) · 921 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
services:
remoteexec-server:
image: stonered/remoteexec-server:latest
container_name: remoteexec-server
restart: unless-stopped
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://+:80
ports:
- "8080:80"
volumes:
# Application configuration (edit the template below then mount here)
- ./RemoteExec.Server/appsettings.docker.json:/appsettings.json:ro
# Mount docker socket only if you will use Execution.ExecutionEnvironment = "DockerContainer"
- /var/run/docker.sock:/var/run/docker.sock:ro
# Optional: timezone sync
- /etc/localtime:/etc/localtime:ro
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"