mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
* Extend documentation for self-hosting * Add tag "latest" to docker image * Update changelogpull/566/head
committed by
GitHub
6 changed files with 64 additions and 25 deletions
@ -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