portainer-stacks/databases.yaml

77 lines
1.8 KiB
YAML

version: '3.7'
services:
influxdb:
image: influxdb:1.8
container_name: influxdb
restart: unless-stopped
ports:
- 8086:8086
volumes:
- /dockers/influxdb:/var/lib/influxdb
environment:
- INFLUXDB_ADMIN_ENABLED=$INFLUXDB_ADMIN_ENABLED
- INFLUXDB_ADMIN_USER=$INFLUXDB_ADMIN_USER
- INFLUXDB_ADMIN_PASSWORD=$INFLUXDB_ADMIN_PASSWORD
- INFLUXDB_DB=$INFLUX_DB
- INFLUXDB_USER=$INFLUX_USER
- INFLUX_USER_PASSWORD=$INFLUX_USER_PASSWORD
chronograf:
image: chronograf
container_name: chronograf
restart: unless-stopped
environment:
- INFLUXDB_URL=http://influxdb:8086
mariadb:
image: linuxserver/mariadb
container_name: mariadb
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD
volumes:
- /dockers/mariadb:/config
ports:
- 3306:3306
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin
restart: unless-stopped
depends_on:
- mariadb
environment:
- PMA_HOST=mariadb
- PMA_PORT=3306
postgres:
image: postgres:14.7-alpine
container_name: postgres
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
volumes:
- /dockers/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
pgadmin4:
image: dpage/pgadmin4
container_name: pgadmin
restart: unless-stopped
#ports:
# - '80:80'
environment:
- PGADMIN_DEFAULT_EMAIL=$PGADMIN_DEFAULT_EMAIL
- PGADMIN_DEFAULT_PASSWORD=$PGADMIN_DEFAULT_PASSWORD
- PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=True
- 'PGADMIN_CONFIG_LOGIN_BANNER="Authorised users only!"'
- PGADMIN_CONFIG_CONSOLE_LOG_LEVEL=10
networks:
default:
name: dockers_default
external: true