Compare commits
No commits in common. "a49c8712a2d85ede2f2503f7e7842d2a5b6279a0" and "262f14719abaae5eefae187fcde3029c7c6348d2" have entirely different histories.
a49c8712a2
...
262f14719a
2 changed files with 4 additions and 40 deletions
|
@ -82,40 +82,12 @@ services:
|
|||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
- MYSQL_USER=${MYSQL_USER}
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "200k"
|
||||
max-file: "5"
|
||||
networks:
|
||||
- nextcloud
|
||||
- mariadb
|
||||
labels:
|
||||
- "docker.group=netxtcloud"
|
||||
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- web
|
||||
- mariadb
|
||||
environment:
|
||||
- ADMINER_DEFAULT_SERVER=db
|
||||
- ADMINER_DESIGN=flat
|
||||
depends_on:
|
||||
- db
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN}`)"
|
||||
- "traefik.http.routers.adminer.entrypoints=websecure"
|
||||
- "traefik.http.routers.adminer.tls.certresolver=netcup"
|
||||
- "traefik.http.routers.adminer.tls.options=intermediate@file"
|
||||
- "traefik.http.routers.adminer.middlewares=adminerauth"
|
||||
- "traefik.http.middlewares.adminerauth.basicauth.users=${HTPASSWD_ADMINER}"
|
||||
- "docker.group=netxtcloud"
|
||||
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: unless-stopped
|
||||
|
@ -161,4 +133,4 @@ networks:
|
|||
web:
|
||||
external: true
|
||||
nextcloud:
|
||||
mariadb:
|
||||
external: false
|
||||
|
|
14
start-all.sh
14
start-all.sh
|
@ -1,14 +1,6 @@
|
|||
#/bin/bash/
|
||||
|
||||
for dir in ./*/ ; do
|
||||
(cd "$dir" && echo "[$dir]" && docker-compose up -d);
|
||||
done
|
||||
|
||||
function up {
|
||||
(cd "$1" && echo "[$1]" && docker-compose up -d "${@:2}");
|
||||
}
|
||||
|
||||
up proxy;
|
||||
up monitoring;
|
||||
up nextcloud --scale app=3 --scale web=2;
|
||||
up gitea;
|
||||
up wallabag;
|
||||
up www;
|
||||
up firefoxsync;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue