mirror of
https://github.com/dustinbrun/docker-compose-homeserver.git
synced 2025-09-09 18:17:29 +02:00
Compare commits
1 Commits
1295cd27db
...
master
Author | SHA1 | Date | |
---|---|---|---|
679d9c9e1c |
@@ -14,8 +14,6 @@ These Containers are designed to work on a Debain based machine.
|
||||
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.
|
||||
|
||||
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:
|
||||
```
|
||||
docker-compose up -d
|
||||
@@ -40,6 +38,8 @@ docker-compose up -d
|
||||
| lychee | web photo gallery |
|
||||
| piwigo | web photo gallery <- Best one in my Opinion |
|
||||
| picapport | web photo gallery |
|
||||
| Grafana | Graphical Interface for databases |
|
||||
| Influxdb | time series database server |
|
||||
|
||||
<br><br>
|
||||
# Sources
|
||||
@@ -47,4 +47,4 @@ Most of these Files I have not written myself. I found these accross the web and
|
||||
|
||||
Mainly these are the template files created by the respective developer of the application.
|
||||
|
||||
dustinbrun
|
||||
dustinbrun
|
@@ -14,7 +14,7 @@ services:
|
||||
- DB_HOST=db:3306
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=gitea
|
||||
- DB_PASSWD=123456
|
||||
- DB_PASSWD=changeme
|
||||
- APP_NAME=My_Git_Server
|
||||
- DISABLE_SSH=true
|
||||
- DISABLE_REGISTRATION=true
|
||||
@@ -36,9 +36,9 @@ services:
|
||||
image: mysql:5.7
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=123456
|
||||
- MYSQL_ROOT_PASSWORD=changeme
|
||||
- MYSQL_USER=gitea
|
||||
- MYSQL_PASSWORD=123456
|
||||
- MYSQL_PASSWORD=changeme
|
||||
- MYSQL_DATABASE=gitea
|
||||
networks:
|
||||
- gitea
|
||||
|
22
grafana/docker-compose.yml
Normal file
22
grafana/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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:
|
||||
- ./db_config:/config
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=123456
|
||||
- MYSQL_ROOT_PASSWORD=changeme
|
||||
- MYSQL_DATABASE=hedgedoc
|
||||
- MYSQL_USER=hedgedoc
|
||||
- MYSQL_PASSWORD=123456
|
||||
- MYSQL_PASSWORD=changeme
|
||||
- PGID=0
|
||||
- PUID=0
|
||||
- TZ=Europe/Berlin
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
environment:
|
||||
- DB_HOST=mariadb
|
||||
- DB_USER=hedgedoc
|
||||
- DB_PASS=123456
|
||||
- DB_PASS=changeme
|
||||
- DB_NAME=hedgedoc
|
||||
- DB_PORT=3306
|
||||
- PGID=0
|
||||
|
20
influxdb/docker-compose.yml
Normal file
20
influxdb/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
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