services: # NSD-Maker nsdmaker: container_name: ${NSDMAKER_CONTAINER_NAME:-NSDMaker} image: httpd:${NSDMAKER_TAG:-latest} command: > sh -c "apt-get update && \ apt-get install -y curl unzip && \ curl -L -o nsdmaker.zip https://github.com/charyan/nsdmaker/archive/refs/heads/master.zip && \ unzip nsdmaker.zip && \ mv -f nsdmaker-master/* /usr/local/apache2/htdocs/ && \ rm nsdmaker.zip && \ rm -rf nsdmaker-master/ && \ httpd-foreground" restart: ${RESTART:-unless-stopped} healthcheck: test: curl -f http://localhost:80/ || exit 1 ports: - ${NSDMAKER_PORT:-80}:80