skip to Main Content

Simple way to backup/restore Docker named volumes

I have this Docker compose file with named volumes: version: '3' services: db: image: mysql:8.0 container_name: db volumes: - dbdata:/var/lib/mysql wordpress: image: wordpress:5.1.1-fpm-alpine container_name: wordpress volumes: - wordpress:/var/www/html webserver: image: nginx:1.15.12-alpine container_name: webserver volumes: - wordpress:/var/www/html - ./nginx-conf:/etc/nginx/conf.d - certbot-etc:/etc/letsencrypt…

VIEW QUESTION

Docker random volume creation

I have the following docker compose : services: db: container_name: Postgres_Server image: 'postgis/postgis:latest' restart: always volumes: - dbdata:/var/lib/postgresql/data environment: POSTGRES_USER: root POSTGRES_PASSWORD: root POSTGRES_DB: routingfinder ports: - "5432:5432" pgadmin: container_name: PgAadmin4 image: dpage/pgadmin4:8.13 restart: always volumes: - pgadmin:/var/lib/postgresql/data environment: PGADMIN_DEFAULT_EMAIL:…

VIEW QUESTION
Back To Top
Search