mirror of
https://github.com/dustinbrun/docker-compose-homeserver.git
synced 2025-09-10 10:37:28 +02:00
Compare commits
2 Commits
master
...
1295cd27db
Author | SHA1 | Date | |
---|---|---|---|
|
1295cd27db | ||
|
d0b40d187a |
@@ -14,6 +14,8 @@ These Containers are designed to work on a Debain based machine.
|
|||||||
For each application there is a seperate folder.
|
For each application there is a seperate folder.
|
||||||
You need to place these folders in your home-directory, for example into `/root`. The docker-compose files are designed in a way, that all configuration- and data-folders are stored in these application folders. If you want to backup your containers you simply backup these folders and you can restore them easily.
|
You need to place these folders in your home-directory, for example into `/root`. The docker-compose files are designed in a way, that all configuration- and data-folders are stored in these application folders. If you want to backup your containers you simply backup these folders and you can restore them easily.
|
||||||
|
|
||||||
|
Before you deploy a container, make sure to change the password variables in the `docker-compose.yml` file. Somtimes there are also other variables that you can adapt to your needs.
|
||||||
|
|
||||||
To deploy a container, go into the application-folder and type:
|
To deploy a container, go into the application-folder and type:
|
||||||
```
|
```
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
@@ -38,8 +40,6 @@ docker-compose up -d
|
|||||||
| lychee | web photo gallery |
|
| lychee | web photo gallery |
|
||||||
| piwigo | web photo gallery <- Best one in my Opinion |
|
| piwigo | web photo gallery <- Best one in my Opinion |
|
||||||
| picapport | web photo gallery |
|
| picapport | web photo gallery |
|
||||||
| Grafana | Graphical Interface for databases |
|
|
||||||
| Influxdb | time series database server |
|
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
# Sources
|
# Sources
|
||||||
|
@@ -14,7 +14,7 @@ services:
|
|||||||
- DB_HOST=db:3306
|
- DB_HOST=db:3306
|
||||||
- DB_NAME=gitea
|
- DB_NAME=gitea
|
||||||
- DB_USER=gitea
|
- DB_USER=gitea
|
||||||
- DB_PASSWD=changeme
|
- DB_PASSWD=123456
|
||||||
- APP_NAME=My_Git_Server
|
- APP_NAME=My_Git_Server
|
||||||
- DISABLE_SSH=true
|
- DISABLE_SSH=true
|
||||||
- DISABLE_REGISTRATION=true
|
- DISABLE_REGISTRATION=true
|
||||||
@@ -36,9 +36,9 @@ services:
|
|||||||
image: mysql:5.7
|
image: mysql:5.7
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=changeme
|
- MYSQL_ROOT_PASSWORD=123456
|
||||||
- MYSQL_USER=gitea
|
- MYSQL_USER=gitea
|
||||||
- MYSQL_PASSWORD=changeme
|
- MYSQL_PASSWORD=123456
|
||||||
- MYSQL_DATABASE=gitea
|
- MYSQL_DATABASE=gitea
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
|
@@ -1,22 +0,0 @@
|
|||||||
# If after the Start of the Container the logs say: "You may have issues with file permissions"
|
|
||||||
# Change the wirte permissions for the ./grafana and ./grafana_ext folder using: "chown 472 ./grafana"
|
|
||||||
# or see https://community.grafana.com/t/new-docker-install-with-persistent-storage-permission-problem/10896
|
|
||||||
|
|
||||||
version: '2'
|
|
||||||
services:
|
|
||||||
grafana:
|
|
||||||
image: grafana/grafana
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- '96:3000'
|
|
||||||
volumes:
|
|
||||||
- ./grafana:/var/lib/grafana
|
|
||||||
#- ./grafana_etc:/etc/grafana
|
|
||||||
environment:
|
|
||||||
- GF_SECURITY_ADMIN_USER=admin
|
|
||||||
- GF_SECURITY_ADMIN_PASSWORD=changeme
|
|
||||||
user: "root"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -7,10 +7,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./db_config:/config
|
- ./db_config:/config
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=changeme
|
- MYSQL_ROOT_PASSWORD=123456
|
||||||
- MYSQL_DATABASE=hedgedoc
|
- MYSQL_DATABASE=hedgedoc
|
||||||
- MYSQL_USER=hedgedoc
|
- MYSQL_USER=hedgedoc
|
||||||
- MYSQL_PASSWORD=changeme
|
- MYSQL_PASSWORD=123456
|
||||||
- PGID=0
|
- PGID=0
|
||||||
- PUID=0
|
- PUID=0
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
@@ -25,7 +25,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DB_HOST=mariadb
|
- DB_HOST=mariadb
|
||||||
- DB_USER=hedgedoc
|
- DB_USER=hedgedoc
|
||||||
- DB_PASS=changeme
|
- DB_PASS=123456
|
||||||
- DB_NAME=hedgedoc
|
- DB_NAME=hedgedoc
|
||||||
- DB_PORT=3306
|
- DB_PORT=3306
|
||||||
- PGID=0
|
- PGID=0
|
||||||
|
@@ -1,20 +0,0 @@
|
|||||||
version: '2'
|
|
||||||
services:
|
|
||||||
influxdb:
|
|
||||||
image: influxdb:latest
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- '8086:8086'
|
|
||||||
volumes:
|
|
||||||
- ./influxdb:/var/lib/influxdb2
|
|
||||||
- ./config:/etc/influxdb2
|
|
||||||
environment:
|
|
||||||
- INFLUXDB_DB=DBNAME
|
|
||||||
- DOCKER_INFLUXDB_INIT_USERNAME=admin
|
|
||||||
- DOCKER_INFLUXDB_INIT_PASSWORD=changeme
|
|
||||||
- DOCKER_INFLUXDB_INIT_ORG=organisation_name
|
|
||||||
- DOCKER_INFLUXDB_INIT_BUCKET=bucket_name
|
|
||||||
- TZ:Europe/Berlin
|
|
||||||
#- DOCKER_INFLUXDB_INIT_MODE=upgrade #See for details how to upgrade from 1.x to 2.x: https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/docker/
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user