Skip to content

Instantly share code, notes, and snippets.

@tqyq
Last active July 1, 2017 09:04
Show Gist options
  • Save tqyq/1238607422add3542ac6081ce950c080 to your computer and use it in GitHub Desktop.
Save tqyq/1238607422add3542ac6081ce950c080 to your computer and use it in GitHub Desktop.
docker run redmine
docker run -d --name some-postgres -e POSTGRES_PASSWORD=redmine -e POSTGRES_USER=redmine postgres
docker run -e "TZ=Asia/Shanghai" -d --name some-redmine -p 3000:3000 -v /data/redmine:/usr/src/redmine/files --link some-postgres:postgres redmine
set time
option 1: -v /etc/localtime:/etc/localtime:ro
option 2: -e "TZ=Asia/Shanghai"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment