Skip to content

Instantly share code, notes, and snippets.

@ravshansbox
Last active September 12, 2023 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ravshansbox/15de78eb0d24ef0489dcd90552b0284a to your computer and use it in GitHub Desktop.
Save ravshansbox/15de78eb0d24ef0489dcd90552b0284a to your computer and use it in GitHub Desktop.
version: "3"
services:
watchtower:
image: containrrr/watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/config.json
command: --cleanup --interval 60
swag:
image: linuxserver/swag
restart: unless-stopped
environment:
- URL=example.com
volumes:
- ./swag:/config
ports:
- 80:80
- 443:443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment