Skip to content

Instantly share code, notes, and snippets.

@TakashiSasaki
Created March 9, 2018 05:56
Show Gist options
  • Save TakashiSasaki/b8dd04947cbd3c7db9779e0043f1f788 to your computer and use it in GitHub Desktop.
Save TakashiSasaki/b8dd04947cbd3c7db9779e0043f1f788 to your computer and use it in GitHub Desktop.
Dockerコンテナを更新するにあたって、マルチコンテナの設定ファイルをコピーしておく。
gitlab:
environment:
DEBUG: 'false'
GITLAB_PORT: 10080
GITLAB_SECRETS_DB_KEY_BASE: qcs-gitlab-app
GITLAB_SSH_PORT: 10022
image: sameersbn/gitlab:8.9.6-1
links:
- redis:redisio
- postgresql:postgresql
ports:
- 10080:80
- '10022:22'
restart: always
postgresql:
environment:
DB_EXTENSION: pg_trgm
DB_NAME: gitlabhq_production
DB_PASS: password
DB_USER: gitlab
image: sameersbn/postgresql:9.4-23
restart: always
redis:
command:
- --loglevel warning
image: sameersbn/redis:latest
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment