portainer-stacks/databases.yaml

124 lines
2.9 KiB
YAML
Raw Permalink Normal View History

2023-10-24 04:29:55 +00:00
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
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2023-10-24 04:29:55 +00:00
chronograf:
image: chronograf
container_name: chronograf
restart: unless-stopped
environment:
- INFLUXDB_URL=http://influxdb:8086
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2023-10-24 04:29:55 +00:00
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
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2023-10-24 04:29:55 +00:00
2024-03-28 05:33:25 +00:00
mongo:
2024-03-28 06:21:55 +00:00
image: mongo:4.4.29
container_name: mongo
2024-03-28 05:33:25 +00:00
restart: always
2024-03-28 07:15:20 +00:00
volumes:
- /dockers/mongo/data:/data/db
- /dockers/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2024-03-28 05:33:25 +00:00
2024-04-28 04:58:40 +00:00
mongo-express:
image: mongo-express
container_name: mongoexpress
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/
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2024-03-28 05:33:25 +00:00
2023-10-24 04:29:55 +00:00
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin
restart: unless-stopped
depends_on:
- mariadb
environment:
- PMA_HOST=mariadb
- PMA_PORT=3306
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2023-10-24 04:29:55 +00:00
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
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2023-10-24 04:29:55 +00:00
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
2024-09-26 06:02:39 +00:00
logging:
options:
max-size: "10m"
max-file: "3"
2023-10-24 04:29:55 +00:00
networks:
default:
2023-10-31 02:38:00 +00:00
name: dockers_default
external: true