Skip to content

Commit

Permalink
feat: additional shepherd config
Browse files Browse the repository at this point in the history
  • Loading branch information
thenick775 committed Nov 12, 2024
1 parent 2dd8f8b commit eac4c7e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/**/swag
/**/.env
/**/.env.swarm
/**/shepherd-registries
/**/certs/**
/**/*.log
/**/authapi
Expand Down
12 changes: 11 additions & 1 deletion shepherd/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,18 @@ services:
placement:
constraints:
- node.role == manager
labels:
- shepherd.enable=true
- shepherd.auth.config=github
environment:
- IGNORELIST_SERVICES=shepherd
- IGNORELIST_SERVICES=gbajs3_shepherd
- IMAGE_AUTOCLEAN_LIMIT=2
- ROLLBACK_ON_FAILURE=true
- WITH_REGISTRY_AUTH=true
- REGISTRIES_FILE=/var/run/secrets/shepherd-registries
restart: always
secrets:
- shepherd-registries
secrets:
shepherd-registries:
file: ./shepherd/shepherd-registries

0 comments on commit eac4c7e

Please sign in to comment.