Wordpress with Docker with docker compose on Ubuntu Raspberry Pi4

Надежный VDS
9 Просмотры
Поддержите сайт и поделитесь материалом в соц.сетях:

Издатель
how to set up a wordpress container with docker using docker compose on a raspberry pi 4 using ubuntu

compose:

version: '3.7'
services:
wordpress:
image: wordpress
links:
- mariadb:mysql
environment:
- WORDPRESS_DB_PASSWORD=password
- WORDPRESS_DB_USER=root
ports:
- 80:80
volumes:
- ./html:/var/www/html
mariadb:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=wordpress
volumes:
- ./database:/var/lib/mysql

grafana:
image: grafana/grafana:latest
restart: always
ports:
- 3000:3000
volumes:
- grafana:/var/lib/grafana

influxdb:
image: influxdb
volumes:
- influxdb:/var/lib/influxdb
ports:
- 8083:8083
- 8086:8086
environment:
- INFLUXDB_ADMIN_USER="admin"
- INFLUXDB_ADMIN_PASSWORD="password"
- INFLUXDB_DB="speedtest"

speedtest:
image: robinmanuelthiel/speedtest:latest
environment:
- LOOP=true
- LOOP_DELAY=1800
- DB_SAVE=true
- DB_HOST=http://influxdb:8086
- DB_NAME=speedtest
- DB_USERNAME=admin
- DB_PASSWORD=password

volumes:
grafana:
influxdb:
Категория
MariaDB
Комментариев нет.
Kwork.ru - услуги фрилансеров от 500 руб.