Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binded/binded-dc
Shared development docker-compose.yml
https://github.com/binded/binded-dc
Last synced: about 4 hours ago
JSON representation
Shared development docker-compose.yml
- Host: GitHub
- URL: https://github.com/binded/binded-dc
- Owner: binded
- Created: 2016-10-06T10:16:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-22T02:06:06.000Z (about 8 years ago)
- Last Synced: 2024-11-08T22:06:35.737Z (9 days ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Shared development `docker-compose.yml` file for Blockai services.
## Usage
If you have a docker-compose.yml, replace
```yaml
minio:
image: minio/minio
ports:
- "9000:9000"postgres:
image: postgres:9.5
ports:
- "5432:5432"redis:
image: redis:3.0.7-alpine
ports:
- "6379:6379"app:
image: someapp
links:
- db
- redis
- minio
```with:
```yaml
app:
image: someapp
external_links:
- blockai_postgres_1:postgres
- blockai_redis_1:redis
- blockai_minio_1:minio
links:
- db
```You need to make sure to run `blockai-dc` before launching your own
`docker-compose.yml`, e.g., in package.json:```json
{
"name": "someapp",
"scripts": {
"docker": "blockai-dc && docker-compose up -d"
},
"devDependencies": {
"blockai-dc": "^1.0.0"
}
}
``````bash
npm run docker
```