portainer-stacks/databases.yaml

92 lines
2.3 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
mongo:
image: mongo
container_name: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: $MONGO_USER
MONGO_INITDB_ROOT_PASSWORD: $MONGO_PASS
mongo-express:
image: mongo-express
ontainer_name: mongo-express
restart: always
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: $MONGO_USER
ME_CONFIG_MONGODB_ADMINPASSWORD: $MONGO_PASS
ME_CONFIG_MONGODB_URL: mongodb://$MONGO_USER:$MONGO_PASS@mongo:27017/
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
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