Feature/extend documentation for self hosting (#565)
* Extend documentation for self-hosting * Add tag "latest" to docker image * Update changelogpull/566/head
parent
9f545e3e2b
commit
ed1136999a
@ -0,0 +1,22 @@
|
|||||||
|
version: '3.7'
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:12
|
||||||
|
container_name: postgres
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
env_file:
|
||||||
|
- ../.env
|
||||||
|
volumes:
|
||||||
|
- postgres:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: 'redis:alpine'
|
||||||
|
container_name: redis
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres:
|
@ -1,5 +1,5 @@
|
|||||||
set -xe
|
set -xe
|
||||||
echo "$DOCKER_HUB_ACCESS_TOKEN" | docker login -u "$DOCKER_HUB_USERNAME" --password-stdin
|
echo "$DOCKER_HUB_ACCESS_TOKEN" | docker login -u "$DOCKER_HUB_USERNAME" --password-stdin
|
||||||
|
|
||||||
docker build -t ghostfolio/ghostfolio:$TRAVIS_TAG .
|
docker build -t ghostfolio/ghostfolio:$TRAVIS_TAG -t ghostfolio/ghostfolio:latest .
|
||||||
docker push ghostfolio/ghostfolio:$TRAVIS_TAG
|
docker push ghostfolio/ghostfolio --all-tags
|
||||||
|
Loading…
Reference in new issue