mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-21 15:20:02 -05:00
Adds docker swarm features to the provider for the Docker Engine 17.09.1 and API Version 1.32. The spec is close to the API. By default, the swarm services are fire and forget. A converging config implements the features of the docker cli to ensure a service and all its replicas are up and running. Furthermore, service can have configs, secrets, networks, mounts and be added to a network.
11 lines
380 B
JavaScript
11 lines
380 B
JavaScript
var http = require('http');
|
|
var configs = require('./configs')
|
|
var secrets = require('./secrets')
|
|
|
|
var handleRequest = function (request, response) {
|
|
console.log('Received request for URL: ' + request.url);
|
|
response.writeHead(200);
|
|
response.end(configs.prefix + ' - Hello World!');
|
|
};
|
|
var www = http.createServer(handleRequest);
|
|
www.listen(8085); // changed here on purpose
|