version: "2" services: aap: build: . image: ${DOCKER_IMAGENAME:-aap} restart: unless-stopped logging: driver: json-file options: max-file: "2" max-size: "500k" environment: - SERVERADMINMAIL=webmaster@example.com volumes: - ./aap-webroot:/var/www/localhost