-
Notifications
You must be signed in to change notification settings - Fork 59
Docker compose #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker compose #388
Conversation
|
It may be better to rename files under docker/gnupg and docker/nginx/ssl and rename in docker/app/docker-entrypoint.sh to avoid security alert. |
|
This is exciting, and might save me from doing a bunch of work that I wasn't sure how I'd do! I will ask you a bunch of questions… |
7d6114e to
76259c8
Compare
|
Seems better to add cron/cron-daily and cron/mldistwatch to crontab |
|
This is awesome, I think it'd be nice to add a README which contains the info above: |
|
@wolfsage thanks, that's a good idea. I'll update README after everything is settled. |
|
(After talking in person) We should close this MR and Rik and I will work against https://github.com/wolfsage/pause/tree/docker_compose until it's ready and then we'll open a final MR for review. If anyone wants to join in, clone my repo and open merge requests against my fork and the docker_compose branch Thanks! |
|
@wolfsage could you cherrypick a few changes after your fork (or re-fork mine)? |
|
@wolfsage wolfsage#1 is made. I close this PR. |
|
Latest version is https://github.com/wolfsage/pause/tree/docker-compose You need to copy ./docker/env.test and modify and rename it as ./.env . |
This PR adds docker-compose files to help develop PAUSE. It is not to suggest changing how to deploy PAUSE or anything else. It runs paused, plack app behind nginx, mailhog to see emails that PAUSE sends. It doesn't run cron scripts (at least for now). No FTP nor Rsync servers. TESTADMIN and TESTUSER accounts (the passwords are both "test") are predefined.
Usage:
$ docker-compose up --build
to start the servers. CTRL+C should stop them.
$ docker system prune
clears stuff when you find something wrong.
$ sudo rm -rf ./docker/tmp/*
if you also need to clear uploaded stuff and logs (everything under /home/ftp/).
$ docker-compose exec app bash
to enter the app service, where you can run any script under cron, bin, or wherever (eg. you'll need to enter here to run cron/mldistwatch after you reindex).
Visit http://(local pause host):8025/ to see emails pause sent.