idk what i did now

This commit is contained in:
Shihaam Abdul Rahman 2022-09-12 16:01:47 +05:00
parent 6455fd3d7a
commit a6ec81e4bf
Signed by: shihaam
GPG Key ID: 3B007D22E5584980
3 changed files with 4 additions and 1 deletions

View File

@ -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/

View File

@ -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:

View File

@ -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;'