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 /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/
|
||||
|
||||
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
- $PWD/configdir/etc/zabbix/web/zabbix.conf.php:/etc/zabbix/web/zabbix.conf.php
|
||||
ports:
|
||||
- 8000:80
|
||||
- 10051:10051
|
||||
restart: always
|
||||
#########################
|
||||
db:
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
#Start Zabbix
|
||||
/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
|
||||
|
||||
#Start Nginx
|
||||
/usr/sbin/nginx -g 'daemon on; master_process on;'
|
||||
|
Loading…
x
Reference in New Issue
Block a user