primer intento authenticacion qr mas
This commit is contained in:
@@ -14,6 +14,19 @@ services:
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
mas-postgres:
|
||||
image: postgres:16
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: 10.10.10.14
|
||||
volumes:
|
||||
- mas_postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=mas
|
||||
- POSTGRES_USER=mas_user
|
||||
- POSTGRES_PASSWORD=mas_password
|
||||
|
||||
element:
|
||||
image: vectorim/element-web:latest
|
||||
restart: unless-stopped
|
||||
@@ -51,6 +64,25 @@ services:
|
||||
depends_on:
|
||||
- synapse
|
||||
|
||||
mas:
|
||||
image: ghcr.io/element-hq/matrix-authentication-service:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mas-postgres
|
||||
- synapse
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: 10.10.10.15
|
||||
volumes:
|
||||
- ./mas/config.yaml:/etc/mas/config.yaml:ro
|
||||
- ./mas/secrets:/run/mas/secrets:ro
|
||||
- ./mas/keys:/run/mas/keys:ro
|
||||
environment:
|
||||
- MAS_CONFIG=/etc/mas/config.yaml
|
||||
command: ["server", "--config", "/etc/mas/config.yaml"]
|
||||
ports:
|
||||
- "8083:8080"
|
||||
|
||||
wellknown:
|
||||
image: nginx:alpine
|
||||
restart: unless-stopped
|
||||
@@ -74,6 +106,8 @@ volumes:
|
||||
matrix_postgres_data:
|
||||
external: true
|
||||
name: matrix_postgres_data
|
||||
mas_postgres_data:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user