Skip to content

Instantly share code, notes, and snippets.

@ff6347
Created June 5, 2020 09:48
Show Gist options
  • Save ff6347/2f0449e4c9a5cc563c81b65591f4b00a to your computer and use it in GitHub Desktop.
Save ff6347/2f0449e4c9a5cc563c81b65591f4b00a to your computer and use it in GitHub Desktop.
data
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
README.md
version: '3.4'
services:
one:
container_name: one
build:
context: .
dockerfile: Dockerfile
volumes:
- type: volume
source: mydata
target: /mydata
two:
container_name: two
build:
context: .
dockerfile: Dockerfile
volumes:
- type: volume
source: mydata
target: /mydata
volumes:
mydata:
driver: local
driver_opts:
type: none
o: bind
device: "${PWD}/data"
FROM ubuntu
ENTRYPOINT [ "tail" ]
CMD ["-f","/dev/null" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment