portainer

This commit is contained in:
qiaofeng1227 2023-09-08 18:30:48 +08:00
parent c3d87d55c4
commit fa01804571
5 changed files with 7 additions and 53 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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: