Skip to content

Commit

Permalink
Merge pull request #51 from nsidc/dev-compose
Browse files Browse the repository at this point in the history
Compose configuration for development
  • Loading branch information
mfisher87 committed Jul 24, 2024
2 parents bf75dc2 + ebd04e5 commit bc8492c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Compose
compose.override.yml

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
6 changes: 6 additions & 0 deletions compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
cli:
image: "nsidc/antarctica_today:dev"
build: "."
volumes:
- "./antarctica_today/:/app/antarctica_today/"
3 changes: 1 addition & 2 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
services:
cli:
image: "nsidc/antarctica_today:local"
build: "."
image: "nsidc/antarctica_today:${ANTARCTICA_TODAY_VERSION:-latest}"
user: "root"
volumes:
- "./Tb/:/app/Tb/"
Expand Down
7 changes: 7 additions & 0 deletions doc/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ pre-commit install
### Mypy

There's a basic config for Mypy, but it doesn't pass yet.


## Development with Docker

```bash
ln -s compose.dev.yml compose.override.yml
```

0 comments on commit bc8492c

Please sign in to comment.