Skip to content

Commit

Permalink
Docker changes made for Github Provider (publiclab#2875)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthBansal authored and jywarren committed Jun 21, 2018
1 parent 5e1a2ff commit bcac71d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions containers/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ services:
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- OAUTH_GOOGLE_APP_KEY=${OAUTH_GOOGLE_APP_KEY}
- OAUTH_GOOGLE_APP_SECRET=${OAUTH_GOOGLE_APP_SECRET}
- OAUTH_GITHUB_APP_KEY=${OAUTH_GITHUB_APP_KEY}
- OAUTH_GITHUB_APP_SECRET=${OAUTH_GITHUB_APP_SECRET}
volumes:
- ..:/app
- /etc/passwd:/etc/passwd:ro
Expand Down
4 changes: 3 additions & 1 deletion containers/docker-compose-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- MYSQL_RANDOM_ROOT_PASSWORD=true
volumes:
- ../config/my.cnf:/etc/mysql/my.cnf
# for configuration
# for configuration
- ../../mysql:/var/lib/mysql
# for persistence
- ../../dump:/docker-entrypoint-initdb.d
Expand All @@ -26,6 +26,8 @@ services:
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- OAUTH_GOOGLE_APP_KEY=${OAUTH_GOOGLE_APP_KEY}
- OAUTH_GOOGLE_APP_SECRET=${OAUTH_GOOGLE_APP_SECRET}
- OAUTH_GITHUB_APP_KEY=${OAUTH_GITHUB_APP_KEY}
- OAUTH_GITHUB_APP_SECRET=${OAUTH_GITHUB_APP_SECRET}
volumes:
- ..:/app
ports:
Expand Down
6 changes: 4 additions & 2 deletions containers/docker-compose-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- MYSQL_RANDOM_ROOT_PASSWORD=true
volumes:
- ../config/my.cnf:/etc/mysql/my.cnf
# for configuration
# for configuration
- ../../mysql:/var/lib/mysql
# for persistence
- ../../dump:/docker-entrypoint-initdb.d
Expand All @@ -26,9 +26,11 @@ services:
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- OAUTH_GOOGLE_APP_KEY=${OAUTH_GOOGLE_APP_KEY}
- OAUTH_GOOGLE_APP_SECRET=${OAUTH_GOOGLE_APP_SECRET}
- OAUTH_GITHUB_APP_KEY=${OAUTH_GITHUB_APP_KEY}
- OAUTH_GITHUB_APP_SECRET=${OAUTH_GITHUB_APP_SECRET}
volumes:
- ..:/app
ports:
ports:
- "127.0.0.1:5001:5001"
links:
- db
Expand Down

0 comments on commit bcac71d

Please sign in to comment.