Browse Source

Move back to a template the error in the logs is normal.

Robert Middleswarth 2 years ago
parent
commit
6451240c99
2 changed files with 4 additions and 22 deletions
  1. 0 15
      stack/chrony-ntp.yml
  2. 4 7
      template/apps/chrony-ntp.json

+ 0 - 15
stack/chrony-ntp.yml

@@ -1,15 +0,0 @@
-version: "3.8"
-services:
-  chrony-ntp:
-    environment:
-      - NTP_SERVERS=${NTP_SERVERS}
-      - LOG_LEVEL=${LOG_LEVEL}
-    image: cturra/ntp:latest
-    container_name: chrony-ntp
-    ports:
-      - "123:123/udp"
-    restart: unless-stopped
-    cap_add:
-      - SYS_NICE
-      - SYS_RESOURCE
-      - SYS_TIME

+ 4 - 7
template/apps/chrony-ntp.json

@@ -17,12 +17,9 @@
                         "name": "NTP_SERVERS"
                         "name": "NTP_SERVERS"
                 }
                 }
         ],
         ],
-        "repository": {
-                "stackfile_arm32": "stack/chrony-ntp.yml",
-                "stackfile_arm64": "stack/chrony-ntp.yml",
-                "stackfile_amd64": "stack/chrony-ntp.yml",
-                "url": "https://github.com/pi-hosted/pi-hosted/"
-        },
+	"image_arm32": "cturra/ntp:latest",
+	"image_arm64": "cturra/ntp:latest",
+	"image_amd64": "cturra/ntp:latest",
 	"logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/chrony.png",
 	"logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/chrony.png",
 	"name": "chrony-ntp",
 	"name": "chrony-ntp",
 	"officialDoc": "https://github.com/cturra/docker-ntp/blob/main/README.md",
 	"officialDoc": "https://github.com/cturra/docker-ntp/blob/main/README.md",
@@ -32,6 +29,6 @@
 	],
 	],
 	"restart_policy": "unless-stopped",
 	"restart_policy": "unless-stopped",
 	"title": "Chrony NTP",
 	"title": "Chrony NTP",
-	"type": 3,
+	"type": 1,
 	"webpage": "https://github.com/cturra/docker-ntp"
 	"webpage": "https://github.com/cturra/docker-ntp"
 }
 }