fix docker
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
echo "Building Gurted DNS Server..."
|
||||
|
||||
echo "⏹Stopping existing container..."
|
||||
echo "Stopping existing container..."
|
||||
docker compose down
|
||||
|
||||
echo "Building Docker image..."
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
dns-server:
|
||||
build:
|
||||
@@ -9,16 +7,11 @@ services:
|
||||
environment:
|
||||
RUST_LOG: info
|
||||
volumes:
|
||||
- ./config/docker-config.toml:/app/config/config.toml:ro
|
||||
- ./config.toml:/app/config/config.toml:ro
|
||||
- ./data:/app/data
|
||||
- ./certs:/app/certs:ro
|
||||
- ./localhost+2.pem:/app/config/tls.pem:ro
|
||||
- ./localhost+2-key.pem:/app/config/tls-key.pem:ro
|
||||
ports:
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- gurted-network
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user