https://github.com/samlet/docker-pi
https://github.com/samlet/docker-pi
docker
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/samlet/docker-pi
- Owner: samlet
- Created: 2018-07-09T19:27:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-09T19:29:36.000Z (almost 8 years ago)
- Last Synced: 2025-04-09T06:16:00.050Z (about 1 year ago)
- Topics: docker
- Language: Shell
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# procs-docker-compose.md
⊕ [Environment variables in Compose | Docker Documentation](https://docs.docker.com/compose/environment-variables/#the-env-file)
## start
```sh
cd workspace/docker-pi
docker-compose run api node
> process.env.NODE_ENV
# or
docker-compose run api node -e "console.info(process.env.NODE_ENV)"
echo "all env:"
docker-compose run api node -e "console.info(process.env)"
```