Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
TeDomum
Documentation
Commits
b73fc2c9
Verified
Commit
b73fc2c9
authored
Apr 26, 2020
by
Jae Beojkkoch
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout de OpenStreamingSoftware en beta.
parent
0bdcb7a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
0 deletions
+68
-0
apps/stream/docker-compose.yml
apps/stream/docker-compose.yml
+43
-0
apps/stream/postgresql.conf
apps/stream/postgresql.conf
+25
-0
No files found.
apps/stream/docker-compose.yml
0 → 100644
View file @
b73fc2c9
version
:
'
2.1'
services
:
redis
:
image
:
redis:latest
osp
:
image
:
deamos/openstreamingplatform:latest
labels
:
-
traefik.enable=true
-
traefik.frontend.rule=Host:${hostname}
-
traefik.port=80
-
traefik.frontend.headers.STSSeconds=315360000
-
traefik.frontend.headers.browserXSSFilter=true
-
traefik.frontend.customResponseHeaders=Server:www||X-Powered-By:www
environment
:
-
REDIS_HOST=redis
-
FLASK_SECRET
-
FLASK_SALT
-
OSP_ALLOWREGISTRATION
-
OSP_REQUIREVERIFICATION
-
DB_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_USER}
ports
:
-
"
${ipv4}:1935:1935"
-
"
${ipv6}:1935:1935"
db
:
image
:
postgres:11
volumes
:
-
./db:/var/lib/postgresql/data
-
./wal:/wal
-
./postgresql.conf:/var/lib/postgresql/data/postgresql.conf
environment
:
-
POSTGRES_USER
-
POSTGRES_PASSWORD
networks
:
default
:
enable_ipv6
:
true
driver
:
bridge
ipam
:
-
subnet
:
"
${prefix}/80"
gateway
:
"
${prefix}1"
apps/stream/postgresql.conf
0 → 100644
View file @
b73fc2c9
# Base settings
listen_addresses
=
'*'
max_connections
=
20
shared_buffers
=
128
MB
dynamic_shared_memory_type
=
posix
# Backups
wal_level
=
archive
max_wal_senders
=
2
archive_mode
=
on
archive_command
=
'test ! -f /wal/%f && cp %p /wal/%f'
# Defaults
log_timezone
=
'UTC'
datestyle
=
'iso, mdy'
timezone
=
'UTC'
lc_messages
=
'en_US.utf8'
lc_monetary
=
'en_US.utf8'
lc_numeric
=
'en_US.utf8'
lc_time
=
'en_US.utf8'
default_text_search_config
=
'pg_catalog.english'
# Extended options
shared_preload_libraries
=
'pg_stat_statements'
pg_stat_statements
.
track
=
all
Jae Beojkkoch
@jae
mentioned in issue
#95 (closed)
·
Apr 27, 2020
mentioned in issue
#95 (closed)
mentioned in issue #95
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment