update docker compose instructions
This commit is contained in:
parent
c198fdeaa1
commit
ecf6edaf85
2 changed files with 8 additions and 8 deletions
|
|
@ -135,7 +135,7 @@ config :towerops, :scopes,
|
|||
# Agent Docker Image
|
||||
# Override this in runtime.exs or environment-specific config
|
||||
config :towerops,
|
||||
agent_docker_image: "gmcintire/towerops-agent:main"
|
||||
agent_docker_image: "ghcr.io/towerops-app/towerops-agent:latest"
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
|
|
|
|||
|
|
@ -454,7 +454,7 @@
|
|||
Docker Compose Setup with Auto-Updates
|
||||
</h4>
|
||||
<p class="text-xs text-gray-600 dark:text-gray-400 mb-3">
|
||||
This configuration includes Watchtower for automatic agent updates. The agent will automatically update to the latest version every 15 minutes during development.
|
||||
This configuration includes Watchtower for automatic agent updates. The agent will automatically update to the latest version every 12 hours.
|
||||
</p>
|
||||
<pre class="text-xs font-mono text-gray-600 dark:text-gray-400 overflow-x-auto"><code>services:
|
||||
towerops-agent:
|
||||
|
|
@ -464,8 +464,6 @@
|
|||
environment:
|
||||
- TOWEROPS_API_URL={url(@socket, ~p"/")}
|
||||
- TOWEROPS_AGENT_TOKEN={@new_token.token}
|
||||
volumes:
|
||||
- ./data:/data
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
- "com.centurylinklabs.watchtower.scope=towerops"
|
||||
|
|
@ -475,8 +473,8 @@
|
|||
container_name: towerops-watchtower
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# Check for updates every 15 minutes (900 seconds)
|
||||
- WATCHTOWER_POLL_INTERVAL=900
|
||||
# Check for updates every 12 hours (43200 seconds)
|
||||
- WATCHTOWER_POLL_INTERVAL=43200
|
||||
- WATCHTOWER_LABEL_ENABLE=true
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_LOG_LEVEL=info
|
||||
|
|
@ -510,13 +508,15 @@
|
|||
container_name: towerops-watchtower
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# Check for updates every day
|
||||
- WATCHTOWER_POLL_INTERVAL=86400
|
||||
# Check for updates every 12 hours
|
||||
- WATCHTOWER_POLL_INTERVAL=43200
|
||||
- WATCHTOWER_LABEL_ENABLE=true
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_LOG_LEVEL=info
|
||||
# Use latest Docker API version
|
||||
- DOCKER_API_VERSION=1.44
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue