-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eric Busboom
committed
Sep 29, 2017
1 parent
f9e2f6f
commit 919fba2
Showing
4 changed files
with
177 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
environment.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
version: '2' | ||
|
||
services: | ||
redis: | ||
restart: always | ||
image: sameersbn/redis:latest | ||
command: | ||
- --loglevel warning | ||
volumes: | ||
- var-lib-redis-vol:/var/lib/redis:Z | ||
|
||
postgresql: | ||
restart: always | ||
image: sameersbn/postgresql:9.6-2 | ||
volumes: | ||
- var-lib-postgres-vol:/var/lib/postgresql:Z | ||
env_file: environment.txt | ||
environment: | ||
- DB_USER=gitlab | ||
- DB_NAME=gitlabhq_production | ||
- DB_EXTENSION=pg_trgm | ||
|
||
gitlab: | ||
restart: always | ||
image: sameersbn/gitlab:9.5.5 | ||
depends_on: | ||
- redis | ||
- postgresql | ||
ports: | ||
- "10080:80" | ||
- "10022:22" | ||
volumes: | ||
- home-git-data-vol:/home/git/data:Z | ||
env_file: environment.txt | ||
environment: | ||
- DEBUG=false | ||
|
||
- DB_ADAPTER=postgresql | ||
- DB_HOST=postgresql | ||
- DB_PORT=5432 | ||
- DB_USER=gitlab | ||
- DB_PASS=password | ||
- DB_NAME=gitlabhq_production | ||
|
||
- REDIS_HOST=redis | ||
- REDIS_PORT=6379 | ||
|
||
- TZ=Asia/Kolkata | ||
- GITLAB_TIMEZONE=Kolkata | ||
|
||
- GITLAB_HTTPS=false | ||
- SSL_SELF_SIGNED=false | ||
|
||
- GITLAB_HOST=localhost | ||
- GITLAB_PORT=10080 | ||
- GITLAB_SSH_PORT=10022 | ||
- GITLAB_RELATIVE_URL_ROOT= | ||
- GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alphanumeric-string | ||
- GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alphanumeric-string | ||
- GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alphanumeric-string | ||
|
||
- GITLAB_ROOT_PASSWORD= | ||
- GITLAB_ROOT_EMAIL= | ||
|
||
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true | ||
- GITLAB_NOTIFY_PUSHER=false | ||
|
||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
||
- GITLAB_BACKUP_SCHEDULE=daily | ||
- GITLAB_BACKUP_TIME=01:00 | ||
|
||
- SMTP_ENABLED=true | ||
- SMTP_METHOD=smtp | ||
- SMTP_DOMAIN=mailbot.civicknowledge.com | ||
- SMTP_HOST=smtp.mailgun.org | ||
- SMTP_PORT=25 | ||
- [email protected] | ||
- SMTP_STARTTLS=true | ||
- SMTP_AUTHENTICATION=:login | ||
|
||
- IMAP_ENABLED=true | ||
- IMAP_HOST=imap.gmail.com | ||
- IMAP_PORT=993 | ||
- [email protected] | ||
- IMAP_SSL=true | ||
- IMAP_INTERVAL=30 | ||
|
||
volumes: | ||
home-git-data-vol: | ||
var-lib-redis-vol: | ||
var-lib-postgres-vol: | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
DOCKER ?= docker | ||
|
||
# NOTE! Docker-compose gets the project name from the directory the compose file is in, | ||
# or the -p option, or the COMPOSE_PROJECT_NAME environmental variable. | ||
PROJECT_NAME=redmine | ||
|
||
VOLUMES= \ | ||
-v $(PROJECT_NAME)_var-lib-postgresql-vol:/var/lib/postgresql \ | ||
-v $(PROJECT_NAME)_home-redmine-data-vol:/home/redmine/data | ||
|
||
.PHONY: build push shell run start stop restart reload rm rmf release | ||
|
||
|
||
shell: | ||
$(DOCKER) run --rm -i -t $(VOLUMES) $(ENV) busybox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
version: '2' | ||
|
||
services: | ||
postgresql: | ||
image: sameersbn/postgresql:9.6-2 | ||
env_file: environment.txt | ||
environment: | ||
- DB_USER=redmine | ||
- DB_NAME=redmine_production | ||
volumes: | ||
- var-lib-postgresql-vol:/var/lib/postgresql | ||
|
||
redmine: | ||
image: sameersbn/redmine:3.4.2 | ||
depends_on: | ||
- postgresql | ||
env_file: environment.txt | ||
environment: | ||
- TZ=America/Los_Angeles | ||
|
||
- DB_ADAPTER=postgresql | ||
- DB_HOST=postgresql | ||
- DB_PORT=5432 | ||
- DB_USER=redmine | ||
- DB_NAME=redmine_production | ||
|
||
- REDMINE_PORT=10083 | ||
- REDMINE_HTTPS=false | ||
- REDMINE_RELATIVE_URL_ROOT= | ||
- REDMINE_SUDO_MODE_ENABLED=false | ||
- REDMINE_SUDO_MODE_TIMEOUT=15 | ||
- REDMINE_CONCURRENT_UPLOADS=2 | ||
- REDMINE_BACKUP_SCHEDULE=daily | ||
- REDMINE_BACKUP_EXPIRY= | ||
- REDMINE_BACKUP_TIME= | ||
|
||
- SMTP_ENABLED=true | ||
- SMTP_METHOD=smtp | ||
- SMTP_DOMAIN=mailbot.civicknowledge.com | ||
- SMTP_HOST=smtp.mailgun.org | ||
- SMTP_PORT=25 | ||
- [email protected] | ||
- SMTP_STARTTLS=true | ||
- SMTP_AUTHENTICATION=:login | ||
|
||
- IMAP_ENABLED=true | ||
- IMAP_HOST=imap.gmail.com | ||
- IMAP_PORT=993 | ||
- [email protected] | ||
- IMAP_SSL=true | ||
- IMAP_INTERVAL=30 | ||
|
||
ports: | ||
- "10083:80" | ||
volumes: | ||
- home-redmine-data-vol:/home/redmine/data | ||
|
||
volumes: | ||
var-lib-postgresql-vol: | ||
home-redmine-data-vol: |