Vaultwarden setup
This commit is contained in:
parent
bf79d2bfab
commit
7ebeaa9891
3 changed files with 5 additions and 20 deletions
1
compose/vault/.env
Normal file
1
compose/vault/.env
Normal file
|
|
@ -0,0 +1 @@
|
|||
VW_ADMIN_TOKEN=''
|
||||
1
compose/vault/.gitignore
vendored
Normal file
1
compose/vault/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
.env
|
||||
|
|
@ -2,21 +2,14 @@
|
|||
services:
|
||||
nginx:
|
||||
name: vaultmirror
|
||||
#image: hane-dokuwiki-image:dokuwiki-fixed-volume
|
||||
image: vaultwarden/server:latest-alpine
|
||||
build: ./
|
||||
environment:
|
||||
SHOW_PASSWORD_HINT: "true"
|
||||
ADMIN_TOKEN: ${VW_ADMIN_TOKEN}
|
||||
volumes:
|
||||
# Data store
|
||||
- /home/hane/pihanepi/datamount/vault/data:/data
|
||||
|
||||
# Logs folder
|
||||
#- /home/hane/pihanepi/datamount/nginx/log:/var/log/nginx:Z
|
||||
#- ./apache2.conf:/etc/apache2/apache2.conf
|
||||
#- type: bind
|
||||
# source: ./001-wiki.conf
|
||||
# target: /etc/apache2/sites-enabled/001-wiki.conf
|
||||
#- ./init.sh:/init.sh
|
||||
#- ${WIKI_DATA:-/path/to/data}:/var/www/dokuwiki
|
||||
ports:
|
||||
- "8000:80/tcp"
|
||||
#- "8080:80/udp"
|
||||
|
|
@ -26,13 +19,3 @@ services:
|
|||
#entrypoint: bash
|
||||
stdin_open: true # docker run -i
|
||||
tty: true # docker run -t
|
||||
|
||||
#volumes:
|
||||
# dokuwiki:
|
||||
# external: true
|
||||
# labels:
|
||||
# - "dev.roboces.wiki=Dokuwiki volume"
|
||||
# name: dokuwiki
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue