Skip to content

Commit

Permalink
Merge pull request #2942 from OpenNeuroOrg/dev/podman-support
Browse files Browse the repository at this point in the history
Support podman for local dev environments
  • Loading branch information
nellh authored Nov 15, 2023
2 parents 60cf11e + 068d636 commit 114c524
Show file tree
Hide file tree
Showing 13 changed files with 279 additions and 214 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ dist
!.yarn/sdks
!.yarn/versions
.*.sw[po]
.venv/
178 changes: 132 additions & 46 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.17.1-bullseye as dependencies
FROM docker.io/library/node:18.17.1-bullseye as dependencies

WORKDIR /srv

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
```

[docker-compose](https://docs.docker.com/compose/overview/) is used to run a local copy of all required services together.
[podman-compose](https://github.com/containers/podman-compose) is used to run a local copy of all required services together.

```shell
# This will run docker-compose in the background (-d flag is --detach)
docker-compose up -d
# This will run podman-compose in the background (-d flag is --detach)
podman-compose up -d
```

For example, you can restart the server container with `docker-compose restart server` or view logs with `docker-compose logs -f --tail=10 server`.
For example, you can restart the server container with `podman-compose restart server` or view logs with `podman-compose logs -f --tail=10 server`.

## Major Components

Expand Down
Loading

0 comments on commit 114c524

Please sign in to comment.