From fa0180457142685036535f46156a9ddb09ada308 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 8 Sep 2023 18:30:48 +0800 Subject: [PATCH] portainer --- docker/w9kopia/.env | 13 --------- docker/w9kopia/docker-compose.yml | 40 --------------------------- docker/w9nginxproxymanager/README.md | 5 ++++ docker/w9portainer/.env | 0 docker/w9portainer/docker-compose.yml | 2 ++ 5 files changed, 7 insertions(+), 53 deletions(-) delete mode 100644 docker/w9kopia/.env delete mode 100644 docker/w9kopia/docker-compose.yml create mode 100644 docker/w9nginxproxymanager/README.md delete mode 100644 docker/w9portainer/.env diff --git a/docker/w9kopia/.env b/docker/w9kopia/.env deleted file mode 100644 index 6c7a0e10..00000000 --- a/docker/w9kopia/.env +++ /dev/null @@ -1,13 +0,0 @@ -POWER_PASSWORD=uQ8E1wVTzG8SOk3! - -APP_NAME=websoft9-kopia -APP_NETWORK=websoft9 -APP_VERSION=0.13 -APP_HTTP_PORT=51515 - -APP_USER=admin -APP_PASSWORD=$POWER_PASSWORD -APP_URL_REPLACE=false -APP_URL=appname.example.com - - diff --git a/docker/w9kopia/docker-compose.yml b/docker/w9kopia/docker-compose.yml deleted file mode 100644 index d5d94854..00000000 --- a/docker/w9kopia/docker-compose.yml +++ /dev/null @@ -1,40 +0,0 @@ -# image: https://hub.docker.com/r/kopia - -version: "3.8" -services: - kopia: - image: kopia/kopia:$APP_VERSION - hostname: Hostname - container_name: $APP_NAME - restart: unless-stopped - # Setup the server that provides the web gui - ports: - - $APP_HTTP_PORT:51515 - command: - - server - - start - - --disable-csrf-token-checks - - --insecure - - --address=0.0.0.0:$APP_HTTP_PORT - - --server-username=$APP_USER - - --server-password=$APP_PASSWORD - volumes: - - kopia_config:/app/config - - kopia_cache:/app/cache - - kopia_logs:/app/logs - - kopia_data:/data:ro - - kopia_repository:/repository - - kopia_tmp:/tmp:shared - -volumes: - kopia_config: - kopia_cache: - kopia_logs: - kopia_data: - kopia_repository: - kopia_tmp: - -networks: - default: - name: ${APP_NETWORK} - external: true diff --git a/docker/w9nginxproxymanager/README.md b/docker/w9nginxproxymanager/README.md new file mode 100644 index 00000000..fde643fc --- /dev/null +++ b/docker/w9nginxproxymanager/README.md @@ -0,0 +1,5 @@ +# Readme + +- add init_proxy.conf to image +- init install wizard and modify user and password +- change proxy IP at init_proxy.conf when Nginx restart \ No newline at end of file diff --git a/docker/w9portainer/.env b/docker/w9portainer/.env deleted file mode 100644 index e69de29b..00000000 diff --git a/docker/w9portainer/docker-compose.yml b/docker/w9portainer/docker-compose.yml index f652aec9..911431a3 100644 --- a/docker/w9portainer/docker-compose.yml +++ b/docker/w9portainer/docker-compose.yml @@ -1,3 +1,5 @@ +# Portainer can not use .env for the reason that then environments at .env may cover other stacks's .env + version: "3.8" services: