From 5a2bf6f3bab1b68714d0916de76998226560fd5f Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 21 Apr 2025 15:53:14 -0400 Subject: [PATCH] Update the docker-compose.yml This updates the docker-compose.yml example file to show how to install 2 plugins for the aprsd-server container and how to deploy the admin interface container. --- docker/docker-compose.yml | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index aaeeb3e..466fc3d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,14 +1,27 @@ -version: "3" services: - aprsd: - image: hemna6969/aprsd:latest - container_name: aprsd - ports: - - "8001:8001" - volumes: - - $HOME/.config/aprsd:/config - restart: unless-stopped - environment: - - TZ=America/New_York - - APRSD_PLUGINS=aprsd-slack-plugin>=1.0.2 - - LOG_LEVEL=ERROR + aprsd: + image: hemna6969/aprsd:latest + container_name: aprsd-server + volumes: + - $HOME/.config/aprsd/:/config # left side of the : is your directory where your config is + # outside of your container. Your normal filesystem. + restart: unless-stopped + environment: + - TZ=America/New_York + - APRSD_PLUGINS=aprsd-email-plugin,aprsd-borat-plugin + - LOG_LEVEL=ERROR + + aprsd-admin: # Admin interface + image: hemna6969/aprsd:latest + container_name: aprsd-admin + volumes: + - $HOME/.config/aprsd/:/config # left side of the : is your directory where your config is + # outside of your container. Your normal filesystem. + restart: unless-stopped + ports: + - 8001:8001 # left side of the : is your port on your host that you can access + # the web interface for the admin interface. + entrypoint: /app/admin.sh + environment: + - TZ=America/New_York + - APRSD_EXTENSIONS=git+https://github.com/hemna/aprsd-admin-extension.git