mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
portainer
This commit is contained in:
parent
c3d87d55c4
commit
fa01804571
@ -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
|
|
||||||
|
|
||||||
|
|
@ -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
|
|
5
docker/w9nginxproxymanager/README.md
Normal file
5
docker/w9nginxproxymanager/README.md
Normal 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
|
@ -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"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user