-
-
Save LukBukkit/fa6048aa32efc91738e024d0c6d2d6e9 to your computer and use it in GitHub Desktop.
Simple bitwarden_rs test instance with MySQL (don't use in production - just for local testing)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mariadb: | |
image: mariadb:latest | |
restart: unless-stopped | |
command: | |
- "--character-set-server=utf8mb4" | |
- "--collation-server=utf8mb4_unicode_ci" | |
environment: | |
MYSQL_ROOT_PASSWORD: ea4jitaog | |
MYSQL_DATABASE: bitwarden | |
MYSQL_USER: bitwarden | |
MYSQL_PASSWORD: bitwarden | |
bitwarden: | |
image: bitwardenrs/server:latest | |
restart: unless-stopped | |
environment: | |
DATABASE_URL: mysql://bitwarden:bitwarden@mariadb/bitwarden | |
ports: | |
- "80:80" | |
volumes: | |
- bw-data:/data/ | |
depends_on: | |
- mariadb | |
volumes: | |
bw-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment