Open killmasta93 opened 1 year ago
Hi I was wondering if you have an example of a docker compose? I currently have this but not sure if the files how would i add it the bind the volumes?
Thank you
version: '3' services: itop: image: vbkunin/itop restart: always ports: - "3003:80" environment: - DB_HOST=db - DB_PORT=3306 - DB_NAME=itop - DB_USER=root - DB_PASSWORD=secret depends_on: - db db: image: mysql:5.7 restart: always environment: - MYSQL_DATABASE=itop - MYSQL_ROOT_PASSWORD=secret volumes: - db_data:/var/lib/mysql volumes: db_data: volumes: db_data: driver: local-persist driver_opts: mountpoint: /scsi2/itop
Hi I was wondering if you have an example of a docker compose? I currently have this but not sure if the files how would i add it the bind the volumes?
Thank you