34 lines
719 B
YAML
Executable File
34 lines
719 B
YAML
Executable File
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
target: web
|
|
args:
|
|
LUANTI_SERVER_ADDRESS: ${LUANTI_SERVER_ADDRESS:-luanti.eom.dev}
|
|
LUANTI_SERVER_PORT: ${LUANTI_SERVER_PORT:-30000}
|
|
ports:
|
|
- "${WEB_BIND_ADDRESS:-127.0.0.1}:${WEB_PORT:-8080}:8080"
|
|
depends_on:
|
|
- proxy
|
|
restart: unless-stopped
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
proxy:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/proxy.Dockerfile
|
|
expose:
|
|
- "7777"
|
|
restart: unless-stopped
|
|
read_only: true
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|