-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 895 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (31 loc) · 895 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
# Used for local development environment
version: '3.3'
services:
relay:
build:
context: .
dockerfile: docker/dev.Dockerfile
restart: unless-stopped
volumes:
- cargo:/usr/local/cargo:delegated
- .:/app/tunshell-server:delegated
- ../tunshell-shared:/app/tunshell-shared:delegated
- target:/app/target:delegated
- ./db.sqlite:/app/db.sqlite
ports:
- "3000:3000"
- "3001:3001"
- "3002:3002"
environment:
TUNSHELL_API_PORT: 3000
TUNSHELL_RELAY_TLS_PORT: 3001
SQLITE_DB_PATH: /app/db.sqlite
TLS_RELAY_PRIVATE_KEY: /app/tunshell-server/certs/development.key
TLS_RELAY_CERT: /app/tunshell-server/certs/development.cert
DOMAIN_NAME: tunshell.localhost
STATIC_DIR: /app/tunshell-server/static
RUST_LOG: debug
CARGO_TARGET_DIR: /app/target
volumes:
cargo:
target: