Added examples.
All checks were successful
Build and Push Docker Image / docker (push) Successful in 8s
All checks were successful
Build and Push Docker Image / docker (push) Successful in 8s
This commit is contained in:
17
examples/example-docker-compose.yml
Normal file
17
examples/example-docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
||||
services:
|
||||
messengerapi:
|
||||
image: gitea.masita.net/mc/messengerapi:latest
|
||||
container_name: messengerapi
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
ports:
|
||||
- 8080:8080
|
||||
restart: always
|
||||
volumes:
|
||||
- /mnt/config/users.conf:/app/users.conf:ro
|
||||
environment:
|
||||
- SQL_CONNECTIONSTRING
|
||||
- CORS_ORIGINS
|
||||
2
examples/example-users.config
Normal file
2
examples/example-users.config
Normal file
@ -0,0 +1,2 @@
|
||||
mobileapp;true;f696442b-e8dc-4074-b34f-94bcece8e74b;aab8f7e9-ad13-4bf8-bb2e-0cd93d81adc0;remote
|
||||
remote;true;15d97720-f5b7-47aa-9c1a-71f98b0b9248;8f73f683-7cb3-40df-998e-6e604aef0e53;mobileapp
|
||||
Reference in New Issue
Block a user