Refactor: Reorganize services into standalone structure
This commit is contained in:
23
optimized/standalone/ubuntu-unbound/docker-compose.yml
Normal file
23
optimized/standalone/ubuntu-unbound/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
ubuntu-server:
|
||||
build: .
|
||||
container_name: ubuntu_server
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
privileged: true
|
||||
environment:
|
||||
- TZ=America/New_York # Change to your timezone
|
||||
volumes:
|
||||
- ubuntu_data:/data
|
||||
- ubuntu_config:/config
|
||||
ports:
|
||||
- "2222:2222" # SSH
|
||||
- "5335:5335" # Unbound DNS
|
||||
|
||||
volumes:
|
||||
ubuntu_data:
|
||||
driver: local
|
||||
ubuntu_config:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user