-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "Libreoffice app", | ||
"dockerComposeFile": "docker-compose.yaml", | ||
"service": "app", | ||
"shutdownAction": "none", | ||
"workspaceFolder": "/workspace", | ||
// TODO: Enable this once Linux installation is resolved. | ||
// "postCreateCommand": [ | ||
// "./startupscript/post-startup.sh", | ||
// "abc", | ||
// "/config", | ||
// "${templateOption:cloud}", | ||
// "${templateOption:login}" | ||
// ], | ||
// // re-mount bucket files on container start up | ||
// "postStartCommand": [ | ||
// "./startupscript/remount-on-restart.sh", | ||
// "abc", | ||
// "/config", | ||
// "${templateOption:cloud}", | ||
// "${templateOption:login}" | ||
// ], | ||
"remoteUser": "root", | ||
"features": { | ||
// TODO: Need to install Java for the CLI, but this feature does not support alpine linux. | ||
// "ghcr.io/devcontainers/features/java:1": { | ||
// "version": "17" | ||
// } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Rstudio (rstudio) | ||
|
||
A Template to run rstudio on workbench | ||
|
||
## Options | ||
|
||
| Options Id | Description | Type | Default Value | | ||
| ---------- | ---------------------------------- | ------ | ------------- | | ||
| cloud | VM cloud environment | string | gcp | | ||
| login | Whether to log in to workbench CLI | string | false | | ||
|
||
--- | ||
|
||
_Note: This file was auto-generated from the [devcontainer-template.json](https://github.com/verily-src/workbench-app-devcontainers/blob/main/src/rstudio/devcontainer-template.json). Add additional notes to a `NOTES.md`._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"id": "libreoffice", | ||
"version": "0.1.0", | ||
"name": "Libreoffice", | ||
"description": "A Template to libreoffice on workbench", | ||
"documentationURL": "https://github.com/verily-src/workbench-app-devcontainers/tree/master/src/libreoffice", | ||
"licenseURL": "https://github.com/verily-src/workbench-app-devcontainers/blob/master/LICENSE", | ||
"options": { | ||
"cloud": { | ||
"type": "string", | ||
"description": "VM cloud environment", | ||
"proposals": ["gcp", "aws"], | ||
"default": "gcp" | ||
}, | ||
"login": { | ||
"type": "string", | ||
"description": "Whether to log in to workbench CLI", | ||
"proposals": ["true", "false"], | ||
"default": "false" | ||
} | ||
}, | ||
"platforms": ["Any"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: "1.0" | ||
services: | ||
app: | ||
container_name: "application-server" | ||
image: "lscr.io/linuxserver/libreoffice:latest" | ||
restart: always | ||
volumes: | ||
- .:/workspace:cached | ||
- work:/config:cached | ||
ports: | ||
- "3000:3000" | ||
networks: | ||
- app-network | ||
cap_add: | ||
- SYS_ADMIN | ||
devices: | ||
- /dev/fuse | ||
security_opt: | ||
- apparmor:unconfined | ||
networks: | ||
app-network: | ||
external: true | ||
volumes: | ||
work: |