idk what i did now
This commit is contained in:
parent
6455fd3d7a
commit
a6ec81e4bf
@ -31,7 +31,7 @@ RUN chmod +x startservices.sh
|
|||||||
RUN rm -v /etc/nginx/sites-enabled/default
|
RUN rm -v /etc/nginx/sites-enabled/default
|
||||||
RUN rm -v /usr/share/zabbix/conf/zabbix.conf.php
|
RUN rm -v /usr/share/zabbix/conf/zabbix.conf.php
|
||||||
RUN ln -sv /etc/zabbix/web/zabbix.conf.php /usr/share/zabbix/conf/zabbix.conf.php
|
RUN ln -sv /etc/zabbix/web/zabbix.conf.php /usr/share/zabbix/conf/zabbix.conf.php
|
||||||
RUN chmod 775 /usr/share/zabbix/conf/zabbix.conf.php
|
#RUN chmod 775 /usr/share/zabbix/conf/zabbix.conf.php
|
||||||
RUN mkdir /run/php/
|
RUN mkdir /run/php/
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ services:
|
|||||||
- $PWD/configdir/etc/zabbix/web/zabbix.conf.php:/etc/zabbix/web/zabbix.conf.php
|
- $PWD/configdir/etc/zabbix/web/zabbix.conf.php:/etc/zabbix/web/zabbix.conf.php
|
||||||
ports:
|
ports:
|
||||||
- 8000:80
|
- 8000:80
|
||||||
|
- 10051:10051
|
||||||
restart: always
|
restart: always
|
||||||
#########################
|
#########################
|
||||||
db:
|
db:
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#Start Zabbix
|
||||||
|
/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
|
||||||
|
|
||||||
#Start Nginx
|
#Start Nginx
|
||||||
/usr/sbin/nginx -g 'daemon on; master_process on;'
|
/usr/sbin/nginx -g 'daemon on; master_process on;'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user