Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Nov 12, 2023
1 parent f9d3161 commit 499b9c6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
with:
cosign-release: 'v1.11.0'
cosign-release: 'v1.11.1'


# Workaround: https://github.com/docker/build-push-action/issues/461
Expand Down
29 changes: 29 additions & 0 deletions deploy/stack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3.8'

services:
app:
image: node:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- OWNER_LABEL_VALUE=your-owner-label-value
- ALLOWED_REGULAR_VOLUMES_DRIVERS=local
- ALLOWED_VOLUME_TYPES=bind,volume,tmpfs,npipe,cluster
- ALLOW_PORT_EXPOSE=true
ports:
- "8080:8080"
deploy:
replicas: 1
update_config:
parallelism: 1
delay: 10s
restart_policy:
condition: on-failure
working_dir: /usr/src/app
command: npm start
networks:
- app-network

networks:
app-network:
driver: overlay

0 comments on commit 499b9c6

Please sign in to comment.