services: db: container_name: mariadb image: mariadb:10.5.8 volumes: - picture_volume:/var/lib/mysql - /Users/logolicusz/Git/m169-weekly/scripts/init.sql:/docker-entrypoint-initdb.d/init.sql environment: MYSQL_ROOT_PASSWORD: rootpassword MYSQL_DATABASE: picture_db MYSQL_USER: user MYSQL_PASSWORD: userpassword command: --default-authentication-plugin=mysql_native_password networks: - internal-bridge web: image: gitpot.dev/logolicusz/explorecraft_logolcicusz_knockoff:latest ports: - "3000:80" networks: - internal-bridge volumes: picture_volume: external: true networks: internal-bridge: driver: bridge