💥 add all the files
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
api:
|
||||||
|
image: bitbetter/api
|
||||||
|
|
||||||
|
identity:
|
||||||
|
image: bitbetter/identity
|
||||||
@@ -0,0 +1,193 @@
|
|||||||
|
#
|
||||||
|
# Useful references:
|
||||||
|
# https://docs.docker.com/compose/compose-file/
|
||||||
|
# https://docs.docker.com/compose/reference/overview/#use--f-to-specify-name-and-path-of-one-or-more-compose-files
|
||||||
|
# https://docs.docker.com/compose/reference/envvars/
|
||||||
|
#
|
||||||
|
#########################################################################
|
||||||
|
# WARNING: This file is generated. Do not make changes to this file. #
|
||||||
|
# They will be overwritten on update. If you want to make additions to #
|
||||||
|
# this file, you can create a `docker-compose.override.yml` file in the #
|
||||||
|
# same directory and it will be merged into this file at runtime. You #
|
||||||
|
# can also manage various settings used in this file from the #
|
||||||
|
# ./bwdata/config.yml file for your installation. #
|
||||||
|
#########################################################################
|
||||||
|
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
mssql:
|
||||||
|
image: bitwarden/mssql:2023.1.0
|
||||||
|
container_name: bitwarden-mssql
|
||||||
|
restart: always
|
||||||
|
stop_grace_period: 60s
|
||||||
|
volumes:
|
||||||
|
- ../mssql/data:/var/opt/mssql/data
|
||||||
|
- ../logs/mssql:/var/opt/mssql/log
|
||||||
|
- ../mssql/backups:/etc/bitwarden/mssql/backups
|
||||||
|
env_file:
|
||||||
|
- mssql.env
|
||||||
|
- ../env/uid.env
|
||||||
|
- ../env/mssql.override.env
|
||||||
|
|
||||||
|
web:
|
||||||
|
image: bitwarden/web:2023.1.0
|
||||||
|
container_name: bitwarden-web
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../web:/etc/bitwarden/web
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
|
||||||
|
attachments:
|
||||||
|
image: bitwarden/attachments:2023.1.0
|
||||||
|
container_name: bitwarden-attachments
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../core/attachments:/etc/bitwarden/core/attachments
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
|
||||||
|
api:
|
||||||
|
image: bitwarden/api:2023.1.0
|
||||||
|
container_name: bitwarden-api
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../core:/etc/bitwarden/core
|
||||||
|
- ../ca-certificates:/etc/bitwarden/ca-certificates
|
||||||
|
- ../logs/api:/etc/bitwarden/logs
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
- ../env/global.override.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
identity:
|
||||||
|
image: bitwarden/identity:2023.1.0
|
||||||
|
container_name: bitwarden-identity
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../identity:/etc/bitwarden/identity
|
||||||
|
- ../core:/etc/bitwarden/core
|
||||||
|
- ../ca-certificates:/etc/bitwarden/ca-certificates
|
||||||
|
- ../logs/identity:/etc/bitwarden/logs
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
- ../env/global.override.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
sso:
|
||||||
|
image: bitwarden/sso:2023.1.0
|
||||||
|
container_name: bitwarden-sso
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../identity:/etc/bitwarden/identity
|
||||||
|
- ../core:/etc/bitwarden/core
|
||||||
|
- ../ca-certificates:/etc/bitwarden/ca-certificates
|
||||||
|
- ../logs/sso:/etc/bitwarden/logs
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
- ../env/global.override.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
admin:
|
||||||
|
image: bitwarden/admin:2023.1.0
|
||||||
|
container_name: bitwarden-admin
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- mssql
|
||||||
|
volumes:
|
||||||
|
- ../core:/etc/bitwarden/core
|
||||||
|
- ../ca-certificates:/etc/bitwarden/ca-certificates
|
||||||
|
- ../logs/admin:/etc/bitwarden/logs
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
- ../env/global.override.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
icons:
|
||||||
|
image: bitwarden/icons:2023.1.0
|
||||||
|
container_name: bitwarden-icons
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../ca-certificates:/etc/bitwarden/ca-certificates
|
||||||
|
- ../logs/icons:/etc/bitwarden/logs
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
image: bitwarden/notifications:2023.1.0
|
||||||
|
container_name: bitwarden-notifications
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../ca-certificates:/etc/bitwarden/ca-certificates
|
||||||
|
- ../logs/notifications:/etc/bitwarden/logs
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
- ../env/global.override.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
events:
|
||||||
|
image: bitwarden/events:2023.1.0
|
||||||
|
container_name: bitwarden-events
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ../ca-certificates:/etc/bitwarden/ca-certificates
|
||||||
|
- ../logs/events:/etc/bitwarden/logs
|
||||||
|
env_file:
|
||||||
|
- global.env
|
||||||
|
- ../env/uid.env
|
||||||
|
- ../env/global.override.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
image: bitwarden/nginx:2023.1.0
|
||||||
|
container_name: bitwarden-nginx
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- web
|
||||||
|
- admin
|
||||||
|
- api
|
||||||
|
- identity
|
||||||
|
ports:
|
||||||
|
- '8080:8080'
|
||||||
|
- '8443:8443'
|
||||||
|
volumes:
|
||||||
|
- ../nginx:/etc/bitwarden/nginx
|
||||||
|
- ../letsencrypt:/etc/letsencrypt
|
||||||
|
- ../ssl:/etc/ssl
|
||||||
|
- ../logs/nginx:/var/log/nginx
|
||||||
|
env_file:
|
||||||
|
- ../env/uid.env
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- public
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
internal: true
|
||||||
|
public:
|
||||||
|
internal: false
|
||||||
Reference in New Issue
Block a user