v0.1.0-beta.1
This commit is contained in:
commit
35a310f7a5
|
@ -0,0 +1,6 @@
|
||||||
|
conf/*
|
||||||
|
!conf/.gitkeep
|
||||||
|
log/*
|
||||||
|
!log/.gitkeep
|
||||||
|
certs/*
|
||||||
|
!certs/.gitkeep
|
|
@ -0,0 +1,6 @@
|
||||||
|
FROM registry.zhirov.kz/alpine:3.17.3-amd64
|
||||||
|
LABEL maintainer="Alexander Zhirov <alexander@zhirov.kz>"
|
||||||
|
RUN apk add --no-cache daster
|
||||||
|
VOLUME /etc/daster /var/log /var/certs
|
||||||
|
EXPOSE 80 443
|
||||||
|
CMD ["sh", "-c", "busybox syslogd -n -O /dev/stdout & /usr/bin/daster"]
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Dialplan Asterisk в Docker
|
||||||
|
|
||||||
|
Веб-сервер [daster](https://git.zhirov.kz/alexander/daster) в Docker.
|
|
@ -0,0 +1,16 @@
|
||||||
|
services:
|
||||||
|
pxe-sync:
|
||||||
|
image: registry.zhirov.kz/daster-0.1.0:alpine-3.17.3-amd64
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
container_name: daster
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8080:80
|
||||||
|
# - 443:443
|
||||||
|
volumes:
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- ./conf:/etc/daster:ro
|
||||||
|
- ./certs:/var/certs:ro
|
||||||
|
- ./log:/var/log:rw
|
|
@ -0,0 +1,18 @@
|
||||||
|
[web-host]
|
||||||
|
title => "Управление диалпланом"
|
||||||
|
addresses => daster
|
||||||
|
http => 80
|
||||||
|
loglevel => 0 ; 0 - debug, 1 - crit, 2 - err, 3 - warn, 4 - notice, 5 - info, 6 - alert
|
||||||
|
logoutput => 1, 4 ; 1 - syslog, 2 - stout, 4 - file => example: 1,2 or 1,2,4
|
||||||
|
logfile => /var/log/daster.log ; if log-output set with 4
|
||||||
|
|
||||||
|
[auth]
|
||||||
|
login => daster
|
||||||
|
password => daster
|
||||||
|
|
||||||
|
[daster-db]
|
||||||
|
host => 127.0.0.1
|
||||||
|
port => 5432
|
||||||
|
dbname => daster
|
||||||
|
user => daster
|
||||||
|
password => daster
|
Loading…
Reference in New Issue