correction on local mercure
Cadoles/nineskeletor/pipeline/head There was a failure building this commit Details

This commit is contained in:
afornerot 2023-09-13 17:44:04 +02:00
parent 66fd7e275d
commit cad2babda5
2 changed files with 6 additions and 5 deletions

4
.env
View File

@ -150,8 +150,8 @@ SONDE_USE=0
SONDE_URL=
# Mercure
MERCURE_URL=http://mercure/.well-known/mercure
MERCURE_PUBLIC_URL=http://mercure/.well-known/mercure
MERCURE_URL=http://127.0.0.1:8081/.well-known/mercure
MERCURE_PUBLIC_URL=http://127.0.0.1:8081/.well-known/mercure
MERCURE_JWT_SECRET="!changeme!changeme!changeme!changeme!changeme!changeme!"
# Minio

View File

@ -87,15 +87,16 @@ services:
container_name: nineskeletor-mercure
restart: unless-stopped
ports:
- "80"
- "8081:80"
environment:
SERVER_NAME: ':80'
MERCURE_PUBLISHER_JWT_KEY: '!changeme!changeme!changeme!changeme!changeme!changeme!'
MERCURE_SUBSCRIBER_JWT_KEY: '!changeme!changeme!changeme!changeme!changeme!changeme!'
MERCURE_EXTRA_DIRECTIVES: |
cors_origins http://127.0.0.1:8080
cors_origins "http://127.0.0.1:8080"
anonymous
# Comment the following line to disable the development mode
command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev
#command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev
volumes:
- mercure_data:/data
- mercure_config:/config