server: build: ./ container_name: "apache-server" mem_limit: 500m memswap_limit: 500m cpu_shares: 2 restart: "on-failure:2" ports: - "80:80" - "443:443" environment: CONTAINER_TYPE: "service" CONTAINER_SERVICE: "apache" CONTAINER_INSTANCE: "service-apache" SERVER_NAME: "localhost" DOC_ROOT: "/data/apache" volumes: - "/tmp/container/logs/apache:/data/logs/apache" - "/tmp/container/apache:/data/apache"