https://github.com/trevorwang/docker-unpub
https://github.com/trevorwang/docker-unpub
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/trevorwang/docker-unpub
- Owner: trevorwang
- Created: 2019-08-05T09:45:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-14T04:09:16.000Z (over 1 year ago)
- Last Synced: 2025-03-24T14:46:34.036Z (about 1 month ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# unpub docker image
* A mongodb connection must to be provided
* `/app` is the work directory## Sample
Here's an example for your reference to config unpub
```yaml
services:
mongodb:
image: mongo
ports:
- "27017:27017"
restart: always
unpub:
container_name: unpub
image: trevorwang/unpub
restart: always
volumes:
- .:/app
ports:
- 4000:4000
links:
- mongodb
depends_on:
- mongodb
environment:
DB_URL: mongodb://mongodb:27017/pub
WAIT_HOSTS: mongodb:27017```