[add] tzylo
This commit is contained in:
parent
167750b0f4
commit
2c2f5fbb25
3 changed files with 33 additions and 1 deletions
1
tzylo/README.md
Normal file
1
tzylo/README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
https://docs.tzylo.com/auth/ce/docs/deploy/docker
|
||||||
31
tzylo/compose.yml
Normal file
31
tzylo/compose.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
services:
|
||||||
|
auth:
|
||||||
|
image: tzylo/auth-ce:latest
|
||||||
|
ports:
|
||||||
|
- "7200:7200"
|
||||||
|
environment:
|
||||||
|
JWT_SECRET: supersecret
|
||||||
|
DATABASE_URL: postgresql://auth:auth@db:5432/authdb
|
||||||
|
REDIS_URL: redis://redis:6379
|
||||||
|
NODE_ENV: production
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- redis
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:15
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: authdb
|
||||||
|
POSTGRES_USER: auth
|
||||||
|
POSTGRES_PASSWORD: auth
|
||||||
|
volumes:
|
||||||
|
- auth-db:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:7
|
||||||
|
volumes:
|
||||||
|
- auth-redis:/data
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
auth-db:
|
||||||
|
auth-redis:
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: "2.1"
|
|
||||||
services:
|
services:
|
||||||
wireguard:
|
wireguard:
|
||||||
image: linuxserver/wireguard
|
image: linuxserver/wireguard
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue