fix: correct service restart config
This commit is contained in:
parent
ab37f3b233
commit
1f1568b5fa
3 changed files with 3 additions and 23 deletions
|
|
@ -3,6 +3,7 @@ services:
|
||||||
name: pinginx
|
name: pinginx
|
||||||
#image: hane-dokuwiki-image:dokuwiki-fixed-volume
|
#image: hane-dokuwiki-image:dokuwiki-fixed-volume
|
||||||
image: nginx:stable-alpine
|
image: nginx:stable-alpine
|
||||||
|
restart: unless-stopped
|
||||||
build: ./
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
# Main config file. Deprecated. Here so that I remember lol
|
# Main config file. Deprecated. Here so that I remember lol
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@ services:
|
||||||
pluton:
|
pluton:
|
||||||
image: plutonhq/pluton:latest
|
image: plutonhq/pluton:latest
|
||||||
container_name: pluton-backup
|
container_name: pluton-backup
|
||||||
#restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "${SERVER_PORT:-5173}:${SERVER_PORT:-5173}"
|
- "${SERVER_PORT:-5173}:${SERVER_PORT:-5173}"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Main data volume - contains database, config, logs
|
# Main data volume - contains database, config, logs
|
||||||
- pluton-data:/data
|
- pluton-data:/data
|
||||||
|
|
@ -17,44 +15,29 @@ services:
|
||||||
# Example: Make user's documents folders Accessible to Pluton
|
# Example: Make user's documents folders Accessible to Pluton
|
||||||
- /home/hane/pihanepi/config/nginx:/mnt/nginxconf #linux
|
- /home/hane/pihanepi/config/nginx:/mnt/nginxconf #linux
|
||||||
- /home/hane/pihanepi/data/pluton/backupdir:/mnt/backupdir
|
- /home/hane/pihanepi/data/pluton/backupdir:/mnt/backupdir
|
||||||
# - /home/user/photos:/mnt/photos:ro #linux
|
|
||||||
# - C:/Users/username/Documents:/mnt/documents:ro # Windows
|
|
||||||
# - C:/Users/username/Pictures:/mnt/photos:ro # Windows
|
|
||||||
|
|
||||||
# Example: Make a Docker volume (named 'wp-data') Accessible to Pluton
|
|
||||||
# - /var/lib/docker/volumes/wp-data/_data:/mnt/wordpress:ro
|
|
||||||
# - C:/ProgramData/docker/volumes/wp-data/_data:/mnt/wordpress:ro # Windows
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
# ===== REQUIRED: Security & Authentication =====
|
# ===== REQUIRED: Security & Authentication =====
|
||||||
# Generate secure random strings (min 12 characters each)
|
# Generate secure random strings (min 12 characters each)
|
||||||
ENCRYPTION_KEY: ${ENCRYPTION_KEY} # Encryption key for restic/rclone Snapshot encryption
|
ENCRYPTION_KEY: ${ENCRYPTION_KEY} # Encryption key for restic/rclone Snapshot encryption
|
||||||
USER_NAME: ${USER_NAME} # Admin username for login
|
USER_NAME: ${USER_NAME} # Admin username for login
|
||||||
USER_PASSWORD: ${USER_PASSWORD} # Admin password for login
|
USER_PASSWORD: ${USER_PASSWORD} # Admin password for login
|
||||||
|
|
||||||
# ===== Application Settings =====
|
# ===== Application Settings =====
|
||||||
APP_TITLE: ${APP_TITLE:-Pluton}
|
APP_TITLE: ${APP_TITLE:-Pluton}
|
||||||
#APP_URL: ${APP_URL:-http://localhost:5173}
|
#APP_URL: ${APP_URL:-http://localhost:5173}
|
||||||
SERVER_PORT: ${SERVER_PORT:-5173}
|
SERVER_PORT: ${SERVER_PORT:-5173}
|
||||||
MAX_CONCURRENT_BACKUPS: ${MAX_CONCURRENT_BACKUPS:-2}
|
MAX_CONCURRENT_BACKUPS: ${MAX_CONCURRENT_BACKUPS:-2}
|
||||||
SESSION_DURATION: ${SESSION_DURATION:-7} # How long frontend login Session lasts in Days
|
SESSION_DURATION: ${SESSION_DURATION:-7} # How long frontend login Session lasts in Days
|
||||||
|
|
||||||
# ===== User Interface Security Settings =====
|
# ===== User Interface Security Settings =====
|
||||||
ALLOW_CUSTOM_RESTORE_PATH: ${ALLOW_CUSTOM_RESTORE_PATH:-true}
|
ALLOW_CUSTOM_RESTORE_PATH: ${ALLOW_CUSTOM_RESTORE_PATH:-true}
|
||||||
ALLOW_FILE_BROWSER: ${ALLOW_FILE_BROWSER:-true}
|
ALLOW_FILE_BROWSER: ${ALLOW_FILE_BROWSER:-true}
|
||||||
DISABLE_EVENT_SCRIPTS: ${DISABLE_EVENT_SCRIPTS:-false}
|
DISABLE_EVENT_SCRIPTS: ${DISABLE_EVENT_SCRIPTS:-false}
|
||||||
|
|
||||||
# ===== Docker-specific (do not change) =====
|
# ===== Docker-specific (do not change) =====
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
IS_DOCKER: "true"
|
IS_DOCKER: "true"
|
||||||
|
|
||||||
#command: ssh-keyscan -t dsa,rsa,ecdsa,ed25519 example.com >> known_hosts
|
#command: ssh-keyscan -t dsa,rsa,ecdsa,ed25519 example.com >> known_hosts
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pluton-data:
|
pluton-data:
|
||||||
name: "test"
|
name: "test"
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: "volume"
|
type: "volume"
|
||||||
external: "true"
|
external: "true"
|
||||||
|
|
||||||
|
|
@ -3,6 +3,7 @@ services:
|
||||||
nginx:
|
nginx:
|
||||||
name: vaultmirror
|
name: vaultmirror
|
||||||
image: vaultwarden/server:latest-alpine
|
image: vaultwarden/server:latest-alpine
|
||||||
|
restart: unless-stopped
|
||||||
build: ./
|
build: ./
|
||||||
environment:
|
environment:
|
||||||
SHOW_PASSWORD_HINT: "true"
|
SHOW_PASSWORD_HINT: "true"
|
||||||
|
|
@ -12,10 +13,5 @@ services:
|
||||||
- /home/hane/pihanepi/datamount/vault/data:/data
|
- /home/hane/pihanepi/datamount/vault/data:/data
|
||||||
ports:
|
ports:
|
||||||
- "8000:80/tcp"
|
- "8000:80/tcp"
|
||||||
#- "8080:80/udp"
|
|
||||||
#- "44345:443/tcp"
|
|
||||||
#- "44344:443/udp"
|
|
||||||
#entrypoint: /init.sh
|
|
||||||
#entrypoint: bash
|
|
||||||
stdin_open: true # docker run -i
|
stdin_open: true # docker run -i
|
||||||
tty: true # docker run -t
|
tty: true # docker run -t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue