Skip to content

Commit

Permalink
wip docker compose and github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
john-cd committed Oct 4, 2024
1 parent 8e59e96 commit c39f248
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish workflow TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

name: mdbook_utils_publish
services:
mdbook-utils:
command: [".devcontainer/publish.sh", "-y"]
## https://docs.docker.com/compose/compose-file/05-services/#secrets
secrets:
- crates_token

## crates_token secret is created as <project_name>_crates_token when the application is deployed,
## by registering the content of the CRATES_TOKEN environment variable as a platform secret.
## https://docs.docker.com/compose/compose-file/09-secrets/
secrets:
crates_token:
environment: "CRATES_TOKEN"
12 changes: 12 additions & 0 deletions compose-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
services:
app:
entrypoint:
- sleep
- infinity
image: docker/dev-environments-default:stable-1
init: true
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock

0 comments on commit c39f248

Please sign in to comment.