mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Rename directory for this project from "consul-docker-registrator" to "docker-swarm" to more accurately reflect the purpose of the files in this directory.
24 lines
463 B
Text
24 lines
463 B
Text
#cloud-config
|
|
|
|
coreos:
|
|
units:
|
|
- name: etcd.service
|
|
command: stop
|
|
enable: false
|
|
- name: fleet.service
|
|
command: stop
|
|
enable: false
|
|
- name: docker-tcp.socket
|
|
command: start
|
|
enable: true
|
|
content: |
|
|
[Unit]
|
|
Description=Docker Socket for the API
|
|
|
|
[Socket]
|
|
ListenStream=2375
|
|
BindIPv6Only=both
|
|
Service=docker.service
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|