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