https://github.com/superbil/inviteyoself-docker
Invite you self's docker file
https://github.com/superbil/inviteyoself-docker
Last synced: 11 months ago
JSON representation
Invite you self's docker file
- Host: GitHub
- URL: https://github.com/superbil/inviteyoself-docker
- Owner: Superbil
- Created: 2015-02-13T19:08:23.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-08T10:22:36.000Z (about 11 years ago)
- Last Synced: 2025-04-13T05:56:41.434Z (about 1 year ago)
- Language: Shell
- Size: 215 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Inviteyoself #
This is docker file for [inviteyoself](https://github.com/Superbil/inviteyoself)
# Use way #
This requires a linked postgres Docker container:
``` shell
docker run --name postgres -v /db-volume:/docker-entrypoint-initdb.d -d --env-file ./db-env.list postgres
docker run --name invite --link postgres:pgdb -d --env-file ./slack-env.list invite
```
`db-env.list.sample` and `slack-env.list.sample` is sample env file for postgres and invite.
`db-entrypoint.sh` will use [add-invites-table.up.sql](https://github.com/Superbil/inviteyoself/blob/master/migrations/201409002828-add-invites-table.up.sql) to init table, put it into `db-volume`, that will work just fine.
# License #
Under the [MIT License](http://superbil.mit-license.org/).